From: Cristy Date: Sat, 27 Jan 2018 15:25:16 +0000 (-0500) Subject: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5672 X-Git-Tag: 7.0.7-23~266 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd2dc75d251002990bb50938eea22a4cc943005f;p=imagemagick https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5672 --- diff --git a/coders/viff.c b/coders/viff.c index d88a885d4..0ce2059bd 100644 --- a/coders/viff.c +++ b/coders/viff.c @@ -515,6 +515,7 @@ static Image *ReadVIFFImage(const ImageInfo *image_info, status=SetImageExtent(image,image->columns,image->rows,exception); if (status == MagickFalse) return(DestroyImageList(image)); + (void) SetImageBackgroundColor(image,exception); pixels=(unsigned char *) AcquireQuantumMemory(MagickMax(number_pixels, max_packets),bytes_per_pixel*sizeof(*pixels)); if (pixels == (unsigned char *) NULL)