File ImageMagick-CVE-2025-53014.patch of Package ImageMagick.39703

From 29d82726c7ec20c07c49ba263bdcea16c2618e03 Mon Sep 17 00:00:00 2001
From: Dirk Lemstra <dirk@lemstra.org>
Date: Thu, 26 Jun 2025 23:01:07 +0200
Subject: [PATCH] Correct out of bounds read of a single byte.

---
 MagickCore/image.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: ImageMagick-7.1.0-9/MagickCore/image.c
===================================================================
--- ImageMagick-7.1.0-9.orig/MagickCore/image.c
+++ ImageMagick-7.1.0-9/MagickCore/image.c
@@ -1671,7 +1671,7 @@ MagickExport size_t InterpretImageFilena
     q=(char *) p+1;
     if (*q == '%')
       {
-        p=q+1;
+        p++;
         continue;
       }
     switch (*q)
openSUSE Build Service is sponsored by