summaryrefslogtreecommitdiff
path: root/source/fitz/shade.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-04-13 15:56:45 +0100
committerRobin Watts <robin.watts@artifex.com>2016-04-18 10:51:22 +0100
commitbf73ce40b26317cc067239c0e183ea4257a25c2f (patch)
tree675163ac4746fb935dd4e1bffd43196da6588791 /source/fitz/shade.c
parent8e1cd871076f93e45faac787e633ae73ddd67bdb (diff)
downloadmupdf-bf73ce40b26317cc067239c0e183ea4257a25c2f.tar.xz
Fix corruption of file using sanitize.
When sanitizing a file, while cleaning with decompression, I was seeing a flate problem reported. The issue is that pdf_open_filter was passing pdf_open_raw_filter the orig_num as both num and orig_num. This was causing us to find an fz_buffer attached to the (wrong) xref entry and to open that instead of the underlying stream. The fix is to propogate num a bit further.
Diffstat (limited to 'source/fitz/shade.c')
0 files changed, 0 insertions, 0 deletions