diff options
author | Robin Watts <robin.watts@artifex.com> | 2014-05-26 17:34:14 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2014-05-27 00:04:30 +0100 |
commit | 0c041d7fc030a9bb25c76ad72a9a028e32a78de1 (patch) | |
tree | c07dd0c7c2b39758b3bfba1b82fc6f5f90ca7aeb /platform/x11/pdfapp.h | |
parent | 253a976aa4c0993c0b685deaceefb3220a0825d1 (diff) | |
download | mupdf-0c041d7fc030a9bb25c76ad72a9a028e32a78de1.tar.xz |
Bug 695260: Fix error handling in do_xobject
Various functions (such as fz_begin_group) handle errors internally
by use of the error_depth parameter. This means that if we call
them, we MUST ensure that we call the appropriate closing function.
Similarly, if we don't call them, we should NOT call the closing
function.
In order to ensure we do this correctly, we introduce a cleanup_state
variable that says which ones we tried to call.
This cures the original bug.
Diffstat (limited to 'platform/x11/pdfapp.h')
0 files changed, 0 insertions, 0 deletions