diff options
author | Jay Berkenbilt <ejb@ql.org> | 2021-11-04 16:55:36 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2021-11-04 17:29:42 +0100 |
commit | 9b28933647f0a3ed535dd488c4526b75d1c10fc6 (patch) | |
tree | 6cd87c2f661653c3afac8ba95a37e338e14e3f36 /manual | |
parent | 73752683c936af0f5a556982c2c59516d2914ee3 (diff) | |
download | qpdf-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 'manual')
-rw-r--r-- | manual/qpdf-manual.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml index 7cd22459..026d6039 100644 --- a/manual/qpdf-manual.xml +++ b/manual/qpdf-manual.xml @@ -5104,6 +5104,16 @@ print "\n"; receive warnings on certain recoverable conditions. </para> </listitem> + <listitem> + <para> + 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. + </para> + </listitem> </itemizedlist> </listitem> <listitem> |