-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Infinite loop while reading metadata #1329
Copy link
Copy link
Closed
Labels
Has MCVEA minimal, complete and verifiable example helps a lot to debug / understand feature requestsA minimal, complete and verifiable example helps a lot to debug / understand feature requestshelp wantedWe appreciate help everywhere - this one might be an easy start!We appreciate help everywhere - this one might be an easy start!is-bugFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFnf-performanceNon-functional change: PerformanceNon-functional change: Performancenf-securityNon-functional change: SecurityNon-functional change: Security
Metadata
Metadata
Assignees
Labels
Has MCVEA minimal, complete and verifiable example helps a lot to debug / understand feature requestsA minimal, complete and verifiable example helps a lot to debug / understand feature requestshelp wantedWe appreciate help everywhere - this one might be an easy start!We appreciate help everywhere - this one might be an easy start!is-bugFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFnf-performanceNon-functional change: PerformanceNon-functional change: Performancenf-securityNon-functional change: SecurityNon-functional change: Security
When I try to read the metadata of Effective Java 3rd Edition by Joshua Bloch.pdf it takes extremely long. It might even be an infinite loop.
Environment
Which environment were you using when you encountered the problem?
$ python -m platform Linux-5.4.0-125-generic-x86_64-with-debian-bullseye-sid $ python -c "import PyPDF2;print(PyPDF2.__version__)" 2.10.5Code + PDF
This is a minimal, complete example that shows the issue:
The PDF: Effective Java 3rd Edition by Joshua Bloch.pdf
Affected