Skip to content

Commit

Permalink
Merge pull request #1951 from DaveLak/fix-issue-69870-gitpython-fuzz-…
Browse files Browse the repository at this point in the history
…submodule-uncaught-exception-with-empty-stacktrace

Gracefully handle `PermissionError` exceptions that crash fuzzer
  • Loading branch information
Byron authored Aug 9, 2024
2 parents a621ff0 + 096851b commit e57cc2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fuzzing/fuzz-targets/fuzz_submodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def TestOneInput(data):
IsADirectoryError,
NotADirectoryError,
BrokenPipeError,
PermissionError,
):
return -1
except Exception as e:
Expand Down

0 comments on commit e57cc2c

Please sign in to comment.