Skip to content
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: infinite loop on damaged pdf file #2877

Closed
pubpub-zz opened this issue Sep 27, 2024 · 3 comments · Fixed by #2878
Closed

BUG: infinite loop on damaged pdf file #2877

pubpub-zz opened this issue Sep 27, 2024 · 3 comments · Fixed by #2878

Comments

@pubpub-zz
Copy link
Collaborator

          (for issue creation/tracking)

Note : With the latest dev build

an infinite loop occurs when getting number of pages
https://github.com/user-attachments/files/17162634/7f40cb209fb97d1782bffcefc5e7be40.pdf

Originally posted by @pubpub-zz in #2876 (comment)

@pubpub-zz
Copy link
Collaborator Author

the pdf contains some dictionnaries where the << and >> are not balanced. this creates an infinite loop when parsing file

@stefan6419846
Copy link
Collaborator

How is this different from #2876?

@pubpub-zz
Copy link
Collaborator Author

from my understanding, #2876 deals with memory. Here, the infinite has been generated because of #2872.
maybe at the end the fix will cover both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants