diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-01 15:42:20 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-01 15:42:20 +0200 |
commit | 556dffcdad42b938bc196819aa463247de709765 (patch) | |
tree | 12f5b4ae97025ace63eecd9112cf45fbc151039f /icc/icc.c | |
parent | ad6ab4cb4c8086c9b8854c965c984ab848c6b6c2 (diff) |
Remove patches from source
Diffstat (limited to 'icc/icc.c')
-rw-r--r-- | icc/icc.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |