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 70164 #999

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

OSS-Fuzz issue 70164 #999

pietermarsman opened this issue Jul 9, 2024 · 0 comments · Fixed by #1000
Labels
component: interpreter Related to PDFInterpreter 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=5456301560233984 for details and reproducers.

This issue is mirrored from https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=70164 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.

The
testcase raises the error:

 	TypeError: unsupported operand type(s) for *: 'PSLiteral' and 'int'
	Traceback (most recent call last):
	  File "fuzzing/extract_text_fuzzer.py", line 26, in fuzz_one_input
	  File "pdfminer/high_level.py", line 176, in extract_text
	  File "pdfminer/pdfinterp.py", line 921, in process_page
	  File "pdfminer/pdfinterp.py", line 939, in render_contents
	  File "pdfminer/pdfinterp.py", line 964, in execute
	  File "pdfminer/pdfinterp.py", line 789, in do_Td
	TypeError: unsupported operand type(s) for *: 'PSLiteral' and 'int'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interpreter Related to PDFInterpreter type: security Security or OSS-Fuzz issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant