diff options
author | Robin Watts <robin.watts@artifex.com> | 2014-02-10 16:18:46 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2014-02-10 16:58:28 +0000 |
commit | addbdd3bc39e3ed07259706e896f275a9f35ae9e (patch) | |
tree | 5d9adda7416d0a797f80128936c4614de8ef8cf6 /scripts/bin2hex.c | |
parent | 7eddc1c63affc10e9e19b5f0de0a62556c36860e (diff) | |
download | mupdf-addbdd3bc39e3ed07259706e896f275a9f35ae9e.tar.xz |
Bug 695021: Fix pdf_insert_page operation with empty page tree.
Patch from Thomas Fach-Pedersen to fix the operation of pdf_insert_page
when called with an empty page tree. Many thanks! As noted in the code
with a FIXME this currently throws an error.
Also, cope with being told to add a page "at" INT_MAX as meaning to
add it at the end of the document.
Possibly this code should cope with a Root without a Pages entry, or
a Pages without a Kids too, but we can fix this in future if it ever
becomes a problem.
Diffstat (limited to 'scripts/bin2hex.c')
0 files changed, 0 insertions, 0 deletions