diff options
Diffstat (limited to 'graphics/gimp/patches')
-rw-r--r-- | graphics/gimp/patches/patch-ae | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/graphics/gimp/patches/patch-ae b/graphics/gimp/patches/patch-ae deleted file mode 100644 index 458b53e9e0c..00000000000 --- a/graphics/gimp/patches/patch-ae +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-ae,v 1.7 2007/07/04 13:34:35 lkundrak Exp $ - -Fix for CVE-2007-2949 heap overflow from upstream. - ---- plug-ins/common/psd.c.orig 2007-07-04 15:11:22.000000000 +0200 -+++ plug-ins/common/psd.c -@@ -1202,6 +1202,12 @@ seek_to_and_unpack_pixeldata(FILE* fd, g - width = channel->width; - height = channel->height; - -+ if (width > G_MAXINT16 || height > G_MAXINT16) -+ { -+ g_message ("Error: Invalid channel dimensions"); -+ gimp_quit (); -+ } -+ - IFDBG - { - printf("\t\t\tLayer (%d) Channel (%d:%d) Compression: %d (%s)\n", |