summaryrefslogtreecommitdiff
path: root/pdf/pdf_interpret.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-12-24 12:55:21 +0000
committerRobin Watts <robin.watts@artifex.com>2012-12-24 13:58:23 +0000
commit12f83ab602f913e8e34aab5348339bccc8ace53e (patch)
tree3e0aa6592259c15c8de594bc8ad31ca19e68a805 /pdf/pdf_interpret.c
parent6f1b7687de910617cbbf0ea2fb926751782294cd (diff)
downloadmupdf-12f83ab602f913e8e34aab5348339bccc8ace53e.tar.xz
Bug 693503: Fix leak while writing a broken file.
While investigating samples_mupdf_001/2599.pdf.asan.58.1778, a leak showed up while cleaning the file, due to not dropping an object in an error case. mutool clean -dif samples_mupdf_001/2599.pdf.asan.58.1778 leak.pdf Simple Fix. Also extend PDF writing so that it can cope with skipping errors so we at least get something out at the end. Problem found in a test file supplied by Mateusz "j00ru" Jurczyk and Gynvael Coldwind of the Google Security Team using Address Sanitizer. Many thanks!
Diffstat (limited to 'pdf/pdf_interpret.c')
0 files changed, 0 insertions, 0 deletions