summaryrefslogtreecommitdiff
path: root/platform/gl/gl-form.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2018-05-31 15:59:53 +0100
committerRobin Watts <robin.watts@artifex.com>2018-07-06 18:00:03 +0100
commit75c457ddd28a629a9e1d6e1a8fa313ffef1457cb (patch)
tree96099a85afbfcaa5af457aa230dfcb89fbd99825 /platform/gl/gl-form.c
parent533684eb51bb72df871a63eb17e589e2ec9bb547 (diff)
downloadmupdf-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/gl/gl-form.c')
0 files changed, 0 insertions, 0 deletions