diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-01-13 17:58:19 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-01-13 17:58:19 +0000 |
commit | b0dd445c76ec8d36648c9f8c9c10b738e963908e (patch) | |
tree | 66d06f41ea6887e554223cd96a0cb00128cfdd20 /pdf/pdf_page.c | |
parent | b203c82007a8f5e321e2e2b74b8b3ee58a425ba5 (diff) | |
download | mupdf-b0dd445c76ec8d36648c9f8c9c10b738e963908e.tar.xz |
Avoid infinite loops with XObjects.
Every xobject keeps a reference to the object from whence
it came. This is marked/unmarked as it is executed.
Thanks to Zeniko for spotting the potential problem.
Diffstat (limited to 'pdf/pdf_page.c')
-rw-r--r-- | pdf/pdf_page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_page.c b/pdf/pdf_page.c index 536cd5ac..7ccf78a3 100644 --- a/pdf/pdf_page.c +++ b/pdf/pdf_page.c @@ -66,7 +66,7 @@ pdf_load_page_tree_node(pdf_xref *xref, fz_obj *node, struct info info) pdf_load_page_tree_node(xref, obj, info); } } - else + else if (fz_is_dict(node)) { dict = fz_resolve_indirect(node); |