[Poppler-bugs] [Bug 101379] Very deep stack and long processing time in Catalog::getPage() (~30s)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Jun 11 12:38:46 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101379
--- Comment #1 from dudul04 at yahoo.fr ---
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 (
https://trac.osgeo.org/gdal/changeset/39052 ) exploring PDF hierarchical
structure (StructTreeRoot entry. ยง10.6 of PDF 1.7 spec) to avoid similar
behaviour.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20170611/b15d0046/attachment.html>
More information about the Poppler-bugs
mailing list