-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Endless Loop When Processing Certain PDF file with PdfFileReader #361
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 requestsPdfReaderThe PdfReader component is affectedThe PdfReader component is affectedis-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 PDF
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 requestsPdfReaderThe PdfReader component is affectedThe PdfReader component is affectedis-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 PDF
I have attached an invalid pdf file.
when I wanted to open that pdf file,
I have faced with long time to read a pdf (more than 1 hour).
seems a bug is in PdfFileReader.
this is my test to reproduce the bug on
PyPDF2==1.26.0and python 3.6:MCVE: Code + PDF
Example PDF: file1.pdf