summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-09-28 19:35:45 +0800
committerRobin Watts <robin.watts@artifex.com>2016-10-12 15:36:22 +0100
commit59f74777cabca2c960411f0d3e0ae8ffd2d4aaed (patch)
tree8a4adfc2f0e73106b8972dc15078432afe8d005d /CHANGES
parentffd0a70e4d0ca24934877d40189d6881d227ccb6 (diff)
downloadmupdf-59f74777cabca2c960411f0d3e0ae8ffd2d4aaed.tar.xz
Bug 697151: Pacify valgrind when reading padding while unpacking tiles
If e.g. an 18 x 11 PNG image used 1 bit depth and a single component the source data fed to fz_unpack_tile() would have padding bits at the end of each line of whole bytes, because 18 bits is not a multiple of 8. The optimized 1 component versions of fz_unpack_tile() for a bit depth of 1 deliberately read the padding when doing the table lookups, knowing that this does not matter because of the construction of the table. Valgrind is incapable of understanding this, so we provide some extra masking (used only in PACIFY_VALGRIND builds) that explicitly mask off the invalid bits.
Diffstat (limited to 'CHANGES')
0 files changed, 0 insertions, 0 deletions