summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2019-01-17 15:29:59 +0100
committerJay Berkenbilt <ejb@ql.org>2019-01-17 15:44:29 +0100
commite09ae710dc3bfe2b64d2905d4d62079f7e664498 (patch)
treeee18ac0b29193d6143ab23914035d94663a55f2a /ChangeLog
parent4bc434000c42a7191e705c8a38216ca6743ad9ff (diff)
downloadqpdf-e09ae710dc3bfe2b64d2905d4d62079f7e664498.tar.zst
Add tests for shared font/xobject
The tests are in a separate commit so the bug-fix commit can be taken as a patch for older versions.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8edf51c3..e1087f20 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2019-01-17 Jay Berkenbilt <ejb@ql.org>
+
+ * Fix data loss bug: qpdf was discarding referenced resources in
+ the case in which a page's resource dictionary contained an
+ indirect reference for either /Font or /XObject that contained
+ fonts or XObjects not referenced on all pages that shared the
+ resource. This was a "typo" in the code. The comment explained the
+ correct behavior, and the code was clearly intended to handle this
+ issue, but the implementation had an error in it. This is fixed by
+ a single-line change, which can be found in git commit
+ 4bc434000c42a7191e705c8a38216ca6743ad9ff. That commit can be used
+ as a patch that applies cleanly against qpdf 8.1.0 and forward.
+ The bug was introduced in version 8.1.0. For the record, this is
+ the first bug in qpdf's history that could result in silent loss
+ of data when processing a correct input file. Fixes #276.
+
2019-01-12 Jay Berkenbilt <ejb@ql.org>
* In the --pages option, allow the same page to be specified more