diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2018-05-31 15:59:53 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2018-07-06 18:00:03 +0100 |
commit | 75c457ddd28a629a9e1d6e1a8fa313ffef1457cb (patch) | |
tree | 96099a85afbfcaa5af457aa230dfcb89fbd99825 /platform/x11/pdfapp.c | |
parent | 533684eb51bb72df871a63eb17e589e2ec9bb547 (diff) | |
download | mupdf-75c457ddd28a629a9e1d6e1a8fa313ffef1457cb.tar.xz |
Bug 699308: Fix stream reading logic to better cope with duff Lengths.
Always look for the "endstream" marker after a PDF stream to see
if we've hit the end. Allow for "endobj" to cope with producers
that omit endstream entirely.
Avoid slowing down legal files by only checking for the end marker
after the specified length has been read.
Diffstat (limited to 'platform/x11/pdfapp.c')
0 files changed, 0 insertions, 0 deletions