From 2611479fcfd661211627d40a46ed455d7a50ab92 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 31 Mar 2018 14:12:46 -0400 Subject: [PATCH] ... --- coders/wpg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coders/wpg.c b/coders/wpg.c index 967e48ea0..2295948f8 100644 --- a/coders/wpg.c +++ b/coders/wpg.c @@ -807,7 +807,8 @@ static Image *ExtractPostscript(Image *image,const ImageInfo *image_info, /* Read nested image */ /*FormatString(clone_info->filename,"%s:%s",magic_info->name,postscript_file);*/ - FormatLocaleString(clone_info->filename,MagickPathExtent,"%s",postscript_file); + FormatLocaleString(clone_info->filename,MagickPathExtent,"%.1024s:%.1024s", + clone_info->magick,postscript_file); image2=ReadImage(clone_info,exception); if (!image2) -- 2.40.0