From: Cristy Date: Sun, 18 Feb 2018 13:25:26 +0000 (-0500) Subject: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6441 X-Git-Tag: 7.0.7-23~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eeb68ee77dfb2b508284e4ea7d49e8b807d32783;p=imagemagick https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6441 --- diff --git a/MagickCore/image.c b/MagickCore/image.c index d8a3021e0..edc527ad0 100644 --- a/MagickCore/image.c +++ b/MagickCore/image.c @@ -237,6 +237,7 @@ MagickExport Image *AcquireImage(const ImageInfo *image_info, RectangleInfo geometry; + (void) ResetMagickMemory(&geometry,0,sizeof(geometry)); flags=ParseAbsoluteGeometry(image_info->extract,&geometry); if (((flags & XValue) != 0) || ((flags & YValue) != 0)) {