diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-11-29 18:53:58 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-11-30 13:26:03 +0000 |
commit | 980e2932579e3ede636297b49baf12ad1bc8b2a7 (patch) | |
tree | 498da3a2fa94cb3105472e560b4c2aef3b788f6f /pdf/pdf_type3.c | |
parent | 5c5a13b31da451e47fe2df48aacf1d00377aaf64 (diff) | |
download | mupdf-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