-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ROB: reading PDF with multiple forms is really slow #2643
Comments
Thanks for the report. That surely does not look right. |
If ever useful: another (smaller) file where the same problem happens: https://www.courts.ca.gov/documents/fl410.pdf |
@farjasju |
@MartinThoma The issue could be an infinite loop, may be a candidate to security. |
When reading a specific PDF file with a lot of forms, the
get_fields()
seems to loop for a very long time (one hour and a half on my setup).Environment
Which environment were you using when you encountered the problem?
Code + PDF
This is a minimal, complete example that shows the issue:
The PDF file (coming from https://www.nj.gov/treasury/taxation/pdf/other_forms/inheritance/itrbk.pdf):
inheritance.pdf
Traceback
The
get_fields()
function seems to make a lot of recursive_check_kids()
callsThe text was updated successfully, but these errors were encountered: