From 8a11feacc32aa5dcf0130d7499535624805fc87e Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 22 Oct 2020 15:19:48 -0400 Subject: Avoid leak by resolving object streams more than once (fuzz issue 23642) --- include/qpdf/QPDF.hh | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 resolved_object_streams; // Linearization data qpdf_offset_t first_xref_item_offset; // actual value from file -- cgit v1.2.3-54-g00ecf