From: Cristy Date: Sat, 7 Apr 2018 12:45:08 +0000 (-0400) Subject: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=7459 X-Git-Tag: 7.0.7-29~177 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9458bc3a338cfe165f634aa7b4eef64d450d8b27;p=imagemagick https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=7459 --- diff --git a/MagickCore/draw.c b/MagickCore/draw.c index 4564d3bd3..d0fdc6bc7 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -1430,7 +1430,7 @@ MagickExport MagickBooleanType DrawClipPath(Image *image, clip_mask=CloneImage(image,image->columns,image->rows,MagickTrue,exception); if (clip_mask == (Image *) NULL) return(MagickFalse); - (void) DeleteImageArtifact(image,filename); + (void) DeleteImageArtifact(clip_mask,filename); (void) SetImageMask(clip_mask,ReadPixelMask,(Image *) NULL,exception); (void) SetImageMask(clip_mask,WritePixelMask,(Image *) NULL,exception); (void) QueryColorCompliance("#0000",AllCompliance,