File gimp-CVE-2023-44442.patch of Package gimp.38644

--- gimp-2.8.18.orig/plug-ins/file-psd/psd-util.c	2023-11-22 15:47:48.655126661 +0530
+++ gimp-2.8.18/plug-ins/file-psd/psd-util.c	2023-11-22 15:50:57.734529599 +0530
@@ -389,6 +389,7 @@ decode_packbits (const gchar *src,
             {
               IFDBG(2) g_debug ("Overrun in packbits replicate of %d chars", n - unpack_left);
               error_code = 2;
+	      break;
             }
           dat = *src;
           for (; n > 0; --n)
openSUSE Build Service is sponsored by