diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-01-04 16:17:33 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-01-04 16:29:29 +0100 |
commit | a01359189b32c60c2d55b039f7aefd6c3ce0ebde (patch) | |
tree | 9f0f3041db8b4a160605c9e22aa4b2988ff2951f /ChangeLog | |
parent | 158156d5062a5ac335bcfde7893be4671affdc32 (diff) | |
download | qpdf-a01359189b32c60c2d55b039f7aefd6c3ce0ebde.tar.zst |
Fix dangling references (fixes #240)
On certain operations, such as iterating through all objects and
adding new indirect objects, walk through the entire object structure
and explicitly resolve any indirect references to non-existent
objects. That prevents new objects from springing into existence and
causing the previously dangling references to point to them.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2019-01-04 Jay Berkenbilt <ejb@ql.org> + + * Detect and recover from dangling references. If a PDF file + contained an indirect reference to a non-existent object (which is + valid), when adding a new object to the file, it was possible for + the new object to take the object ID of the dangling reference, + thereby causing the dangling reference to point to the new object. + This case is now prevented. Fixes #240. + 2019-01-03 Jay Berkenbilt <ejb@ql.org> * Fix behavior of form field value setting to handle the following |