]> granicus.if.org Git - imagemagick/commitdiff
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11155
authorCristy <urban-warrior@imagemagick.org>
Sun, 28 Oct 2018 00:28:24 +0000 (20:28 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sun, 28 Oct 2018 00:28:24 +0000 (20:28 -0400)
coders/gif.c

index 839a0502c9daaa8830510824ca8f8bb8e4408778..b372b4761edea912caffc70f2011cdbc67e4b6c3 100644 (file)
@@ -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);