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

OSS-Fuzz issue 70159 #997

Closed
pietermarsman opened this issue Jul 9, 2024 · 0 comments · Fixed by #998
Closed

OSS-Fuzz issue 70159 #997

pietermarsman opened this issue Jul 9, 2024 · 0 comments · Fixed by #998
Labels
component:document Related to PDFDocument type: security Security or OSS-Fuzz issues

Comments

@pietermarsman
Copy link
Member

pietermarsman commented Jul 9, 2024

OSS-Fuzz has found a bug in this project. Please see https://oss-fuzz.com/testcase?key=4850437937758208 for details and reproducers.

This issue is mirrored from https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=701159 and will auto-close if the status changes there.

If you have trouble accessing this report, please file an issue at https://github.com/google/oss-fuzz/issues/new.

This Testcase raises the following error:

 	RecursionError: maximum recursion depth exceeded while calling a Python object
	Traceback (most recent call last):
	  File "fuzzing/extract_text_to_fp_fuzzer.py", line 30, in fuzz_one_input
	  File "pdfminer/high_level.py", line 125, in extract_text_to_fp
	  File "pdfminer/pdfpage.py", line 173, in get_pages
	  File "pdfminer/pdfpage.py", line 129, in create_pages
	  File "pdfminer/pdfpage.py", line 116, in search
	  File "pdfminer/pdfpage.py", line 116, in search
	  File "pdfminer/pdfpage.py", line 116, in search
	  [Previous line repeated 982 more times]
	  File "pdfminer/pdfpage.py", line 104, in search
	  File "pdfminer/pdftypes.py", line 204, in dict_value
	  File "pdfminer/pdftypes.py", line 115, in resolve1
	  File "pdfminer/pdftypes.py", line 103, in resolve
	  File "pdfminer/pdfdocument.py", line 824, in getobj
	RecursionError: maximum recursion depth exceeded while calling a Python object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:document Related to PDFDocument type: security Security or OSS-Fuzz issues
Projects
None yet
1 participant