diff options
author | Jay Berkenbilt <ejb@ql.org> | 2017-07-26 11:03:38 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2017-07-26 12:24:07 +0200 |
commit | 701b518d5c56a1449825a3a37a716c58e05e1c3e (patch) | |
tree | bb4891231a8150bf3a2ccb56bca298df433210a0 /qpdf/qpdf.testcov | |
parent | afe0242b263a9e1a8d51dd81e42ab6de2e5127eb (diff) | |
download | qpdf-701b518d5c56a1449825a3a37a716c58e05e1c3e.tar.zst |
Detect recursion loops resolving objects (fixes #51)
During parsing of an object, sometimes parts of the object have to be
resolved. An example is stream lengths. If such an object directly or
indirectly points to the object being parsed, it can cause an infinite
loop. Guard against all cases of re-entrant resolution of objects.
Diffstat (limited to 'qpdf/qpdf.testcov')
-rw-r--r-- | qpdf/qpdf.testcov | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpdf/qpdf.testcov b/qpdf/qpdf.testcov index f3ddd60d..8144d2c3 100644 --- a/qpdf/qpdf.testcov +++ b/qpdf/qpdf.testcov @@ -276,3 +276,4 @@ qpdf-c called qpdf_set_deterministic_ID 0 QPDFObjectHandle indirect with 0 objid 0 QPDF object id 0 0 QPDF caught recursive xref reconstruction 0 +QPDF recursion loop in resolve 0 |