From: Cristy Date: Wed, 7 Feb 2018 22:33:06 +0000 (-0500) Subject: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6075 X-Git-Tag: 7.0.7-23~108 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fcc8d3bc30091c766472e81025ea3e5c5c24d677;p=imagemagick https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6075 --- diff --git a/coders/mvg.c b/coders/mvg.c index d8a64acba..85295c0d1 100644 --- a/coders/mvg.c +++ b/coders/mvg.c @@ -168,6 +168,7 @@ static Image *ReadMVGImage(const ImageInfo *image_info,ExceptionInfo *exception) /* Determine size of image canvas. */ + (void) ResetMagickMemory(&bounds,0,sizeof(bounds)); while (ReadBlobString(image,primitive) != (char *) NULL) { for (p=primitive; (*p == ' ') || (*p == '\t'); p++) ;