From: Cristy Date: Tue, 23 Jan 2018 12:35:01 +0000 (-0500) Subject: Eliminate unintialized value X-Git-Tag: 7.0.7-23~302 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4435dbb1f398e3bf4ab1c1f8905d42b7701a7cca;p=imagemagick Eliminate unintialized value Credit OSS Fuzz --- diff --git a/coders/dcm.c b/coders/dcm.c index 29fa651f5..5f9cb02c7 100644 --- a/coders/dcm.c +++ b/coders/dcm.c @@ -3927,6 +3927,7 @@ static Image *ReadDCMImage(const ImageInfo *image_info,ExceptionInfo *exception) if (status == MagickFalse) break; image->colorspace=RGBColorspace; + (void) SetImageBackgroundColor(image,exception); if ((image->colormap == (PixelInfo *) NULL) && (info.samples_per_pixel == 1)) {