diff options
Diffstat (limited to 'debian/patches/04_CVE-2012-4405.diff')
-rw-r--r-- | debian/patches/04_CVE-2012-4405.diff | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/04_CVE-2012-4405.diff b/debian/patches/04_CVE-2012-4405.diff new file mode 100644 index 0000000..60f7e48 --- /dev/null +++ b/debian/patches/04_CVE-2012-4405.diff @@ -0,0 +1,14 @@ +--- a/icc/icc.c ++++ b/icc/icc.c +@@ -6348,6 +6348,11 @@ static int icmLut_read( + p->clutPoints = read_UInt8Number(bp+10); + + /* Sanity check */ ++ if (p->inputChan < 1) { ++ sprintf(icp->err,"icmLut_read: No input channels!"); ++ return icp->errc = 1; ++ } ++ + if (p->inputChan > MAX_CHAN) { + sprintf(icp->err,"icmLut_read: Can't handle > %d input channels\n",MAX_CHAN); + return icp->errc = 1; |