summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJulian Smith <jules@op59.net>2020-01-09 17:14:57 +0000
committerJulian Smith <jules@op59.net>2020-01-10 10:45:31 +0000
commite3c394504318a9a6774d65c386842d3f568126ce (patch)
treeee50febff510b752642246abf06a335ff7a832a4 /contrib
parenta9c19743cf5bc787ebbcbbff58c5cce0c923d0cc (diff)
downloadghostpdl-e3c394504318a9a6774d65c386842d3f568126ce.tar.gz
Coverity 94488: improved detection of uninitialised Jbig2HuffmanEntry.
When checking for an incorrect uninitialised entry, test for /either/ of <flags> and <PREFLEN> being -1. Previously we tested for /all/ of <flags>, <PREFLEN> and <entry->u.RANGELOW> being -1, which made coverity think that the following code could be run with PREFLEN=-1, which then triggers issue about illegal shifts. [It seems that <entry->u.RANGELOW> can be -1 in normal operation, so have excluded from the new test.]
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions