summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-11-04 16:55:36 +0100
committerJay Berkenbilt <ejb@ql.org>2021-11-04 17:29:42 +0100
commit9b28933647f0a3ed535dd488c4526b75d1c10fc6 (patch)
tree6cd87c2f661653c3afac8ba95a37e338e14e3f36 /ChangeLog
parent73752683c936af0f5a556982c2c59516d2914ee3 (diff)
downloadqpdf-9b28933647f0a3ed535dd488c4526b75d1c10fc6.tar.zst
Check object ownership when adding
When adding a QPDFObjectHandle to an array or dictionary, if possible, check if the new object belongs to the same QPDF. This makes it much easier to find incorrect code than waiting for the situation to be detected when the file is written.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 24bbc569..91301ae9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2021-11-04 Jay Berkenbilt <ejb@ql.org>
+
+ * Add an extra check to the library to detect when foreign objects
+ are inserted directly (instead of using
+ <function>QPDF::copyForeignObject</function>) at the time of
+ insertion rather than when the file is written. Catching the error
+ sooner makes it much easier to locate the incorrect code.
+
2021-11-03 Jay Berkenbilt <ejb@ql.org>
* Bug fix: make overlay/underlay work on a page with no resource