From: Cristy Date: Sun, 18 Mar 2018 13:01:27 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.7-28~77 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=734b146dfe3fd8382b052a8419081b3bb905a93c;p=imagemagick ... --- diff --git a/coders/gif.c b/coders/gif.c index 6b93cffc2..6e421973b 100644 --- a/coders/gif.c +++ b/coders/gif.c @@ -1028,6 +1028,7 @@ static Image *ReadGIFImage(const ImageInfo *image_info,ExceptionInfo *exception) meta_image->page.width=ReadBlobLSBShort(image); meta_image->page.height=ReadBlobLSBShort(image); flag=(unsigned char) ReadBlobByte(image); + profiles=(LinkedListInfo *) NULL; background=(unsigned char) ReadBlobByte(image); c=(unsigned char) ReadBlobByte(image); /* reserved */ one=1; @@ -1044,7 +1045,6 @@ static Image *ReadGIFImage(const ImageInfo *image_info,ExceptionInfo *exception) if (count != (ssize_t) (3*global_colors)) ThrowGIFException(CorruptImageError,"InsufficientImageDataInFile"); } - profiles=(LinkedListInfo *) NULL; duration=0; opacity=(-1); image_count=0;