From: Cristy Date: Sun, 28 Oct 2018 00:28:24 +0000 (-0400) Subject: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11155 X-Git-Tag: 7.0.8-15~103 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc443dce1640eec64ea48c13f3088eefe1d0bb0e;p=imagemagick https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11155 --- diff --git a/coders/gif.c b/coders/gif.c index 839a0502c..b372b4761 100644 --- a/coders/gif.c +++ b/coders/gif.c @@ -1105,7 +1105,7 @@ static Image *ReadGIFImage(const ImageInfo *image_info,ExceptionInfo *exception) ThrowGIFException(ResourceLimitError, "MemoryAllocationFailed"); } - (void) CopyMagickMemory(&comments[offset],(char *) buffer,extent- + (void) CopyMagickString(&comments[offset],(char *) buffer,extent- offset); } (void) SetImageProperty(meta_image,"comment",comments,exception);