Skip to content

Add graceful handling of expected exceptions in fuzz_submodule.py #1922

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

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add graceful handling for NotADirectoryErrors
  • Loading branch information
DaveLak committed May 30, 2024
commit 57a56a8a2874d2ab76f4034b9d3c98e09ed7fa35
1 change: 1 addition & 0 deletions fuzzing/fuzz-targets/fuzz_submodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def TestOneInput(data):
FileNotFoundError,
FileExistsError,
IsADirectoryError,
NotADirectoryError,
BrokenPipeError,
):
return -1
Expand Down