Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b630eaf

Browse filesBrowse files
authored
Merge pull request #1952 from DaveLak/fuzzing/issues/71095
Fuzzing: Gracefully Handle Uninteresting Error to Fix OSS-Fuzz Issue
2 parents e57cc2c + 7126ce1 commit b630eaf
Copy full SHA for b630eaf

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

‎fuzzing/fuzz-targets/fuzz_submodule.py

Copy file name to clipboardExpand all lines: fuzzing/fuzz-targets/fuzz_submodule.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ def TestOneInput(data):
8484
except Exception as e:
8585
if isinstance(e, ValueError) and "embedded null byte" in str(e):
8686
return -1
87+
elif isinstance(e, OSError) and "File name too long" in str(e):
88+
return -1
8789
else:
8890
return handle_exception(e)
8991

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.