euske / pdfminer

Python PDF Parser (Not actively maintained). Check out pdfminer.six.

Home Page:https://github.com/pdfminer/pdfminer.six

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parsing of issue-149.pdf file results in Python RecursionError

sutula opened this issue · comments

During regular use of pdfminer, we ran across a file, issue-149.pdf, that results in a Python RecursionError. The test case is:

pdf2txt.py issue-149.pdf

The stderr output is attached to this issue. error.txt

For reference, the "issue-149.pdf" file is a test case in the qpdf-7.1.1 package. Although the file likely contains junk that should not normally occur in a pdf file, it would be helpful if pdfminer didn't crash.