diff options
author | Robin Watts <robin.watts@artifex.com> | 2014-06-09 17:51:34 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2014-06-09 17:55:30 +0100 |
commit | fdea617e38c4d4579b4edcc9ffaf7e4a8b067d6f (patch) | |
tree | d73ec93dd5025df974ffe1cbb615eb205f66c938 /platform | |
parent | a6f0d56d2d2e66cef2b4ca6e810bf3630ed53d0b (diff) | |
download | mupdf-fdea617e38c4d4579b4edcc9ffaf7e4a8b067d6f.tar.xz |
Bug 695300: Sanitize draw-device stack handling in error cases.
When throwing an error during fz_alpha_from_gray, the stack depth
can get confused. Fix this by moving some more code into the
appropriate fz_try().
In the course of fixing this bug, I added some new optional debug
code to display the stack level as it runs. This is committed here
disabled; just change the appropriate #define in draw-device.c to
enable it.
Also, add some code to run_xobject, to avoid throwing in an fz_always()
clause.
Diffstat (limited to 'platform')
0 files changed, 0 insertions, 0 deletions