aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2011-01-31 15:59:42 +0100
committerJay Berkenbilt <ejb@ql.org>2011-01-31 15:59:42 +0100
commita8f224872995e3b90297693cfe1f381f01c555c8 (patch)
tree2487fc5bd31b4c4a592cf969150309765af3e033 /ChangeLog
parent5ccc788b80f2533a4e7b6b9288a90ba53b1fc2c1 (diff)
downloadqpdf-a8f224872995e3b90297693cfe1f381f01c555c8.tar.zst
handle files with object 0 as a real object
git-svn-id: svn+q:///qpdf/trunk@1049 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ecc174b9..bcf8e9f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2011-01-31 Jay Berkenbilt <ejb@ql.org>
+
+ * libqpdf/QPDF.cc (readObjectAtOffset): use -1 rather than 0 when
+ reading an object at a given to indicate that no object number is
+ expected. This allows xref recovery to proceed even if a file
+ uses the invalid object number 0 as a regular object.
+
+ * libqpdf/QPDF_linearization.cc (isLinearized): use -1 rather than
+ 0 as a sentintel for not having found the first object in the
+ file. Since -1 can never match the regular expression, this
+ prevents an infinite loop when checking a file that starts with
+ (erroneous) 0 0 obj. (Fixes qpdf-Bugs-3159950.)
+
2010-10-04 Jay Berkenbilt <ejb@ql.org>
* 2.2.2: release