diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2021-04-15 12:15:51 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2021-04-15 08:25:33 -0700 |
commit | 631eea3abd793390b85883c30fceeecc17d7efe8 (patch) | |
tree | c5bcc585357d2db6ecd4a3b8514c920c20f80e6a /contrib | |
parent | f328ddd9ff541c5319ff93e418671cd91e6c3669 (diff) | |
download | ghostpdl-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