From e6215b9816eb6446470b5db1d385342a72edb948 Mon Sep 17 00:00:00 2001 From: Cristy Date: Tue, 26 Jun 2018 18:57:13 -0400 Subject: [PATCH] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=883 --- coders/png.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.40.0