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

--- gimp-2.10.30.orig/plug-ins/file-psd/psd-util.c	2023-11-17 19:46:12.782841827 +0530
+++ gimp-2.10.30/plug-ins/file-psd/psd-util.c	2023-11-17 19:51:19.627456778 +0530
@@ -518,6 +518,7 @@ decode_packbits (const gchar *src,
             {
               IFDBG(2) g_debug ("Overrun in packbits replicate of %d chars", n - unpack_left);
               error_code = 2;
+	      break;
             }
           memset (dst, *src, n);
           src++;
openSUSE Build Service is sponsored by