diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2015-07-28 14:30:52 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2015-07-28 14:42:40 +0200 |
commit | 9c2c5644c77761b7a065ebdcbbb63b88b182c94b (patch) | |
tree | 85b71dd945d0cea9b3324a9a3604bada9283b774 /source/fitz | |
parent | fd54bf89f2adfd5545202a6df87076fb7269f62c (diff) | |
download | mupdf-9c2c5644c77761b7a065ebdcbbb63b88b182c94b.tar.xz |
Reset xref object entry when repairing pdf objects.
When attempting to load pdf objects and a valid pdf object is found but
it has the wrong number, mark the xref object entry as being free before
attempting to repair the xref. This ensures that if the wanted object
cannot be found in the document then the missing object will be
considered to be null. Previously it was still assumed to be around, but
the object pointer was NULL triggering an assert in pdf_load_object().
Diffstat (limited to 'source/fitz')
0 files changed, 0 insertions, 0 deletions