<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Very deep stack and long processing time in Catalog::getPage() (~30s)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101379#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Very deep stack and long processing time in Catalog::getPage() (~30s)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101379">bug 101379</a>
from <span class="vcard"><a class="email" href="mailto:dudul04@yahoo.fr" title="dudul04@yahoo.fr">dudul04@yahoo.fr</a>
</span></b>
<pre>OK, I see in Parser.cc that there's a mechanism to address excessive recursion
levels, but the limit (500) is fairly high. Couldn't it be extended with a
std::set<PairObjNumObjGen> visitedObjects to detect multiple visits to the same
object ? This is something I've just used in GDAL code (
<a href="https://trac.osgeo.org/gdal/changeset/39052">https://trac.osgeo.org/gdal/changeset/39052</a> ) exploring PDF hierarchical
structure (StructTreeRoot entry. ยง10.6 of PDF 1.7 spec) to avoid similar
behaviour.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>