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 70165 #981

Open
oss-fuzz-robot opened this issue Jul 8, 2024 · 0 comments · May be fixed by #1001
Open

OSS-Fuzz issue 70165 #981

oss-fuzz-robot opened this issue Jul 8, 2024 · 0 comments · May be fixed by #1001

Comments

@oss-fuzz-robot
Copy link

oss-fuzz-robot commented Jul 8, 2024

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

This issue is mirrored from https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=70165 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 file clusterfuzz-testcase-minimized-extract_text_fuzzer-5582382774681600.pdf raises the error:

	TypeError: unsupported operand type(s) for *: 'PSKeyword' and 'float'
	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 834, in do_TJ
	  File "pdfminer/pdfdevice.py", line 133, in render_string
	  File "pdfminer/pdfdevice.py", line 173, in render_string_horizontal
	  File "pdfminer/converter.py", line 237, in render_char
	  File "pdfminer/pdffont.py", line 920, in char_width
	TypeError: unsupported operand type(s) for *: 'PSKeyword' and 'float'
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

Successfully merging a pull request may close this issue.

1 participant