diff options
Diffstat (limited to 'net-print/cups/files/cups-1.3.6-CVE-2008-1373.patch')
-rw-r--r-- | net-print/cups/files/cups-1.3.6-CVE-2008-1373.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/net-print/cups/files/cups-1.3.6-CVE-2008-1373.patch b/net-print/cups/files/cups-1.3.6-CVE-2008-1373.patch deleted file mode 100644 index 8a7383f4e096..000000000000 --- a/net-print/cups/files/cups-1.3.6-CVE-2008-1373.patch +++ /dev/null @@ -1,23 +0,0 @@ -Index: cups-1.3.6/filter/image-gif.c -=================================================================== ---- cups-1.3.6.orig/filter/image-gif.c -+++ cups-1.3.6/filter/image-gif.c -@@ -38,6 +38,8 @@ - #define GIF_INTERLACE 0x40 - #define GIF_COLORMAP 0x80 - -+#define MAX_LWZ_BITS 12 -+ - typedef cups_ib_t gif_cmap_t[256][4]; - typedef short gif_table_t[4096]; - -@@ -462,6 +464,9 @@ gif_read_image(FILE *fp, /* I - - pass = 0; - code_size = getc(fp); - -+ if (code_size > MAX_LWZ_BITS) -+ return (-1); -+ - if (!pixels) - return (-1); - |