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 e57cc2c

Browse filesBrowse 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
Copy full SHA for e57cc2c

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎fuzzing/fuzz-targets/fuzz_submodule.py

Copy file name to clipboardExpand all lines: fuzzing/fuzz-targets/fuzz_submodule.py
+1Lines changed: 1 addition & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.