From: Cristy Date: Mon, 4 Jun 2018 23:55:54 +0000 (-0400) Subject: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8732 X-Git-Tag: 7.0.7-39~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cabb9fd1d6d72454fe6dba8b39b7bb115eadfcc5;p=imagemagick https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8732 --- diff --git a/MagickCore/draw.c b/MagickCore/draw.c index 18bc0b1b9..9e7d59b70 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -5245,7 +5245,10 @@ MagickExport MagickBooleanType DrawPrimitive(Image *image, } clone_info=DestroyImageInfo(clone_info); if (composite_image == (Image *) NULL) - break; + { + status=0; + break; + } (void) SetImageProgressMonitor(composite_image,(MagickProgressMonitor) NULL,(void *) NULL); x1=(ssize_t) ceil(primitive_info[1].point.x-0.5);