summaryrefslogtreecommitdiff
path: root/pdf/pdf_type3.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-11-29 18:53:58 +0000
committerRobin Watts <robin.watts@artifex.com>2012-11-30 13:26:03 +0000
commit980e2932579e3ede636297b49baf12ad1bc8b2a7 (patch)
tree498da3a2fa94cb3105472e560b4c2aef3b788f6f /pdf/pdf_type3.c
parent5c5a13b31da451e47fe2df48aacf1d00377aaf64 (diff)
downloadmupdf-980e2932579e3ede636297b49baf12ad1bc8b2a7.tar.xz
Bug 693290: Harden pdf interpreter.
Various changes from zeniko to make the pdf interpreter cope better with malformed files. When running subobjects, catch the thrown errors to avoid upsetting the clip stack. When running a content stream, ensure that we don't underflow the graphics states (in case of mismatched q/Q's). Here our patch differs slightly from zeniko's original, as we pop any extra ones off before returning.
Diffstat (limited to 'pdf/pdf_type3.c')
0 files changed, 0 insertions, 0 deletions