-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Stack overflow with Invalid PageTree #261
Comments
galkahana
added a commit
that referenced
this issue
Jun 22, 2024
* #261: recursion in page tree parsing. avoid with storing the current path and identifying cycles * nl * #262: recursion on object parsing. avoid with stroing the current path as parser state and identifying cyces * missing algorithm reference * #263: large allocation size following large columns value. limiting columns (and any integer) to max and mix pdf allowed value for integer to avoid * #264: incorrect release of segment causing using after free. dont use PDFObjectCastPtr if not querying a new object! * #265: adding test file for high count. correction is the same as earlier - limit value of integer
should be dealt by #267 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Infinite Recursion in
PDFParser::ParsePagesIDs
leads to a Stack Overflow. This happens becausePDFParser::ParsePagesIDs
is recursive and the PageTree has a cycle, see for example the attached file.BrokenPageIDs.pdf
The text was updated successfully, but these errors were encountered: