DescriptionStack exhaustion if PDFium returns circular bookmarks.
Ideally, we'd track this in PDFium, but the API doesn't have
a context representing the current "search" onto which to
hang a set of visited bookmarks. Alternatively, we could do
this in pdfium_engine itself, but it may be hard to tell
when a bookmark is the same, since PDFium dutifully cobbles
up a new structure each time around. So restrict the depth
to prevent the crash.
BUG=542403
Committed: https://crrev.com/a60c693cb284a9f96e8a99b8c26f48c7f7217c78
Cr-Commit-Position: refs/heads/master@{#353891}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Depth goes last. #Messages
Total messages: 10 (3 generated)
|