diff options
author | Jay Berkenbilt <ejb@ql.org> | 2020-10-22 21:19:48 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2020-10-22 21:39:36 +0200 |
commit | 8a11feacc32aa5dcf0130d7499535624805fc87e (patch) | |
tree | 5e5ba87c4e6bad0740e0635de8599951dbeeedcd /include | |
parent | 30bb4c64eeddef030132e467c6388d5695a4117c (diff) | |
download | qpdf-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.hh | 1 |
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 |