From c59a816a284050e6373f634199c35790e9deadad Mon Sep 17 00:00:00 2001 From: Cristy Date: Tue, 3 Apr 2018 14:00:47 -0400 Subject: [PATCH] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=7320 --- MagickCore/draw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MagickCore/draw.c b/MagickCore/draw.c index 0a61ce316..a334e9b08 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -1421,6 +1421,8 @@ MagickExport MagickBooleanType DrawClipPath(Image *image, if (image->debug != MagickFalse) (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); assert(draw_info != (const DrawInfo *) NULL); + if (LocaleCompare(name,"MVG") == 0) + return(MagickFalse); (void) FormatLocaleString(filename,MagickPathExtent,"%s",name); value=GetImageArtifact(image,filename); if (value == (const char *) NULL) -- 2.40.0