Commit c691d614f for imagemagick.org

commit c691d614f6991a7b4b2e64ee6231bd12ed6e8c6d
Author: Cristy <urban-warrior@imagemagick.org>
Date:   Fri Nov 20 10:34:53 2026 -0500

    https://github.com/ImageMagick/ImageMagick/issues/9124

diff --git a/coders/pdf.c b/coders/pdf.c
index e0b7b7c75..bf7d3f1b6 100644
--- a/coders/pdf.c
+++ b/coders/pdf.c
@@ -648,6 +648,7 @@ static Image *ReadPDFImage(const ImageInfo *image_info,ExceptionInfo *exception)
   (void) CopyMagickString(filename,read_info->filename,MagickPathExtent);
   (void) AcquireUniqueFilename(filename);
   (void) RelinquishUniqueFileResource(filename);
+  ConcatenateMagickString(filename,"%d",MagickPathExtent);
   (void) FormatLocaleString(command,MagickPathExtent,
     GetDelegateCommands(delegate_info),
     read_info->antialias != MagickFalse ? 4 : 1,
diff --git a/coders/ps.c b/coders/ps.c
index 9932e4d21..72c7ba0b8 100644
--- a/coders/ps.c
+++ b/coders/ps.c
@@ -814,6 +814,7 @@ static Image *ReadPSImage(const ImageInfo *image_info,ExceptionInfo *exception)
   (void) CopyMagickString(filename,read_info->filename,MagickPathExtent);
   (void) AcquireUniqueFilename(filename);
   (void) RelinquishUniqueFileResource(filename);
+  ConcatenateMagickString(filename,"%d",MagickPathExtent);
   (void) FormatLocaleString(command,MagickPathExtent,
     GetDelegateCommands(delegate_info),
     read_info->antialias != MagickFalse ? 4 : 1,
diff --git a/coders/xps.c b/coders/xps.c
index 2aa5bdac2..4f1cd5426 100644
--- a/coders/xps.c
+++ b/coders/xps.c
@@ -303,6 +303,7 @@ static Image *ReadXPSImage(const ImageInfo *image_info,ExceptionInfo *exception)
     }
   (void) AcquireUniqueFilename(read_info->filename);
   (void) RelinquishUniqueFileResource(read_info->filename);
+  (void) ConcatenateMagickString(read_info->filename,"%d",MagickPathExtent);
   (void) CopyMagickString(filename,read_info->filename,MagickPathExtent);
   (void) FormatLocaleString(command,MagickPathExtent,
     GetDelegateCommands(delegate_info),