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/mupdf.h | |
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/mupdf.h')
-rw-r--r-- | pdf/mupdf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf/mupdf.h b/pdf/mupdf.h index 1ec9d4f2..fa7cd2f8 100644 --- a/pdf/mupdf.h +++ b/pdf/mupdf.h @@ -211,6 +211,7 @@ struct pdf_xobject_s fz_colorspace *colorspace; fz_obj *resources; fz_buffer *contents; + fz_obj *me; }; pdf_xobject *pdf_load_xobject(pdf_xref *xref, fz_obj *obj); |