From e6f957f8a2e0731e57ef126e6b9172eb6a6c03fe Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 17 Dec 2017 14:48:03 -0500 Subject: [PATCH] Initialize info buffer --- coders/gif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coders/gif.c b/coders/gif.c index 72179135a..0ee58a1b4 100644 --- a/coders/gif.c +++ b/coders/gif.c @@ -1158,6 +1158,7 @@ static Image *ReadGIFImage(const ImageInfo *image_info,ExceptionInfo *exception) ThrowReaderException(ResourceLimitError, "MemoryAllocationFailed"); } + (void) ResetMagickMemory(info,0,255UL*sizeof(*info)); reserved_length=255; for (info_length=0; ; ) { -- 2.50.1