Skip to content

Commit e57cc2c

Browse files
authored
Merge pull request #1951 from DaveLak/fix-issue-69870-gitpython-fuzz-submodule-uncaught-exception-with-empty-stacktrace
Gracefully handle `PermissionError` exceptions that crash fuzzer
2 parents a621ff0 + 096851b commit e57cc2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fuzzing/fuzz-targets/fuzz_submodule.py

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def TestOneInput(data):
7878
IsADirectoryError,
7979
NotADirectoryError,
8080
BrokenPipeError,
81+
PermissionError,
8182
):
8283
return -1
8384
except Exception as e:

0 commit comments

Comments
 (0)