diff options
author | Robin Watts <robin.watts@artifex.com> | 2011-12-08 12:34:43 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2011-12-08 12:34:43 +0000 |
commit | d5f978f464380be28d67a00a79887d9d15612eff (patch) | |
tree | 32b5a543094dc89b8a2f8332366d128a46f77da6 | |
parent | 13dc7237ff5177b75fc6d5c1289eabc68cc7504b (diff) | |
download | mupdf-d5f978f464380be28d67a00a79887d9d15612eff.tar.xz |
Fix SEGV seen when repairing SumatraPDF1.1DOS.pdf
An error while parsing pdf_parse_array could result in double
dropping of an object. Simple fix.
-rw-r--r-- | pdf/pdf_parse.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pdf/pdf_parse.c b/pdf/pdf_parse.c index 4e393370..6b7fdb12 100644 --- a/pdf/pdf_parse.c +++ b/pdf/pdf_parse.c @@ -285,7 +285,6 @@ pdf_parse_array(pdf_xref *xref, fz_stream *file, char *buf, int cap) break; default: - fz_drop_obj(ary); fz_throw(ctx, "cannot parse token in array"); } } |