aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2020-10-22 21:19:48 +0200
committerJay Berkenbilt <ejb@ql.org>2020-10-22 21:39:36 +0200
commit8a11feacc32aa5dcf0130d7499535624805fc87e (patch)
tree5e5ba87c4e6bad0740e0635de8599951dbeeedcd /include
parent30bb4c64eeddef030132e467c6388d5695a4117c (diff)
downloadqpdf-8a11feacc32aa5dcf0130d7499535624805fc87e.tar.zst
Avoid leak by resolving object streams more than once (fuzz issue 23642)
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDF.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh
index 2482b232..285ba1e3 100644
--- a/include/qpdf/QPDF.hh
+++ b/include/qpdf/QPDF.hh
@@ -1403,6 +1403,7 @@ class QPDF
bool immediate_copy_from;
bool in_parse;
bool parsed;
+ std::set<int> resolved_object_streams;
// Linearization data
qpdf_offset_t first_xref_item_offset; // actual value from file