diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-01-04 17:50:02 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-01-04 17:55:42 +0100 |
commit | 837dcf8fc2546a80f205a0c4c53e5a1545c53a84 (patch) | |
tree | 8c21738d5bb958faadb36ffdaff3f4dbc82cbb35 /ChangeLog | |
parent | a01359189b32c60c2d55b039f7aefd6c3ce0ebde (diff) | |
download | qpdf-837dcf8fc2546a80f205a0c4c53e5a1545c53a84.tar.zst |
Don't call assert while checking linearization data (fixes #209, #231)
Instead of calling assert for problems found during checking
linearization data, throw an exception which is later caught and
issued as an error. Ideally we would handle errors more robustly, but
this is still a significant improvement.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,9 @@ 2019-01-04 Jay Berkenbilt <ejb@ql.org> + * When unexpected errors are found while checking linearization + data, print an error message instead of calling assert, which + cause the program to crash. Fixes #209, #231. + * 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 |