From: Cristy Date: Tue, 26 Jun 2018 22:57:13 +0000 (-0400) Subject: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=883 X-Git-Tag: 7.0.8-4~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6215b9816eb6446470b5db1d385342a72edb948;p=imagemagick https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=883 --- diff --git a/coders/png.c b/coders/png.c index 8547cad3e..b3ecd890b 100644 --- a/coders/png.c +++ b/coders/png.c @@ -5002,8 +5002,8 @@ static Image *ReadOneJNGImage(MngInfo *mng_info, " Reading jng_image from color_blob."); assert(color_image_info != (ImageInfo *) NULL); - (void) FormatLocaleString(color_image_info->filename,MagickPathExtent,"%s", - color_image->filename); + (void) FormatLocaleString(color_image_info->filename,MagickPathExtent, + "jpeg:%s",color_image->filename); color_image_info->ping=MagickFalse; /* To do: avoid this */ jng_image=ReadImage(color_image_info,exception);