aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2020-10-22 11:11:58 +0200
committerJay Berkenbilt <ejb@ql.org>2020-10-22 11:48:35 +0200
commit24196c08cb2457ab3e7a6d0226e6c28ac55bb832 (patch)
treea098a2b2681a03d763f8c2f8431457869347a426 /include
parent6cc9489fd85fe0b89a06ef73ab0186d1e6e026c0 (diff)
downloadqpdf-24196c08cb2457ab3e7a6d0226e6c28ac55bb832.tar.zst
Fix loop detection error (fuzz issue 23172)
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDF.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh
index 720c1bc8..2482b232 100644
--- a/include/qpdf/QPDF.hh
+++ b/include/qpdf/QPDF.hh
@@ -1341,7 +1341,8 @@ class QPDF
std::set<QPDFObjGen>& visited);
void updateObjectMaps(ObjUser const& ou, QPDFObjectHandle oh);
void updateObjectMapsInternal(ObjUser const& ou, QPDFObjectHandle oh,
- std::set<QPDFObjGen>& visited, bool top);
+ std::set<QPDFObjGen>& visited, bool top,
+ int depth);
void filterCompressedObjects(std::map<int, int> const& object_stream_data);
// Type conversion helper methods