summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-stream.c
diff options
context:
space:
mode:
authorSimon Bünzli <zeniko@gmail.com>2014-12-18 12:29:31 +0100
committerSimon Bünzli <zeniko@gmail.com>2014-12-18 12:54:40 +0100
commitd3e295b507a1af10e066d72c386095f9bd8a8623 (patch)
tree497647d6bdf9799323adcca20aa89af1ff4e6792 /source/pdf/pdf-stream.c
parent064e998fb4fbf3cb41f743db246bd641a74ea0ba (diff)
downloadmupdf-d3e295b507a1af10e066d72c386095f9bd8a8623.tar.xz
Bug 695746: make LZW decoder slightly more tolerant
Ghostscript's LZW decoder accepts invalid LZW code 4096 if it's immediately followed by LZW clear code 256 for handling files produced by certain broken encoders and other common PDF readers seem to have similar error handling. This patch makes MuPDF tolerate such broken files as well.
Diffstat (limited to 'source/pdf/pdf-stream.c')
0 files changed, 0 insertions, 0 deletions