diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-04-13 15:56:45 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-04-18 10:51:22 +0100 |
commit | bf73ce40b26317cc067239c0e183ea4257a25c2f (patch) | |
tree | 675163ac4746fb935dd4e1bffd43196da6588791 /source/fitz/shade.c | |
parent | 8e1cd871076f93e45faac787e633ae73ddd67bdb (diff) | |
download | mupdf-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