summaryrefslogtreecommitdiff
path: root/pdf/pdf_crypt.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-06-11 20:34:10 +0100
committerRobin Watts <robin.watts@artifex.com>2012-06-12 00:40:00 +0100
commit14f4205130757c534d4da8b310fa0a3cdeabdd96 (patch)
tree6502bb9457deebb1d7899195316aab9e82224074 /pdf/pdf_crypt.c
parent9d1f0ac1e19d55cf020960ab95ef1750fd8915a8 (diff)
downloadmupdf-14f4205130757c534d4da8b310fa0a3cdeabdd96.tar.xz
Followup to commit 120dadb; improved error handling during interpretation.
After commit 120dadb, it's far too easy to get into a seemingly infinite loop while processing a corrupt file. We fix this by changing the process to abort when we receive an invalid keyword. Also, we add another layer of nesting to pdf_run_stream to avoid us push/popping an fz_try level on every keyword.
Diffstat (limited to 'pdf/pdf_crypt.c')
0 files changed, 0 insertions, 0 deletions