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

long loop in read an special pdf #48

Open
eghlima opened this issue Jul 25, 2017 · 0 comments
Open

long loop in read an special pdf #48

eghlima opened this issue Jul 25, 2017 · 0 comments

Comments

@eghlima
Copy link

eghlima commented Jul 25, 2017

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.0 and python 3.6:

from PyPDF2 import PdfFileReader
f = open('file1.pdf', 'rb')
p = PdfFileReader(f) # in this line we will be wait a long

file1.pdf

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

No branches or pull requests

1 participant