summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2021-04-15 12:15:51 +0100
committerRobin Watts <Robin.Watts@artifex.com>2021-04-15 08:25:33 -0700
commit631eea3abd793390b85883c30fceeecc17d7efe8 (patch)
treec5bcc585357d2db6ecd4a3b8514c920c20f80e6a /contrib
parentf328ddd9ff541c5319ff93e418671cd91e6c3669 (diff)
downloadghostpdl-631eea3abd793390b85883c30fceeecc17d7efe8.tar.gz
Attempt to fix indeterminism in output of pcx16 device.
The existing code overreads the end of the line. That's probably OK in terms of not causing crashes (as we only overread by enough to make it up to the next 32bit word), but is enough to read undefined input and so a) upsets valgrind, and b) gives indeterminate output. Fix it by handling the last few pixels with extra checks.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions