/[packages]/cauldron/ghostscript/current/SOURCES/ghostscript-9.06-CVE-2012-4405.diff
ViewVC logotype

Contents of /cauldron/ghostscript/current/SOURCES/ghostscript-9.06-CVE-2012-4405.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (show annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (11 years, 3 months ago) by pterjan
File size: 584 byte(s)
oops
1 --- ghostscript-9.06/icclib/icc.c~ 2012-08-08 04:01:36.000000000 -0400
2 +++ ghostscript-9.06/icclib/icc.c 2012-10-09 17:18:11.313882594 -0400
3 @@ -4996,6 +4996,11 @@
4 p->clutPoints = read_UInt8Number(bp+10);
5
6 /* Sanity check */
7 + if (p->inputChan < 1) {
8 + sprintf(icp->err,"icmLut_read: No input channels!\n",MAX_CHAN);
9 + return icp->errc = 1;
10 + }
11 +
12 if (p->inputChan > MAX_CHAN) {
13 sprintf(icp->err,"icmLut_read: Can't handle > %d input channels\n",MAX_CHAN);
14 return icp->errc = 1;

  ViewVC Help
Powered by ViewVC 1.1.30