Skip to content

Navigation Menu

Sign in
Appearance settings

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 096851b

Browse filesBrowse files
committed
Gracefully handle PermissionError exceptions that crash fuzzer
Fuzzing inputs sometimes produce directory paths that are protected inside the fuzzer execution environment. This is not an issue in GitPython's code, so it should not crash the fuzzer. Fixes OSS-Fuzz Issue 69456: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=69870
1 parent a621ff0 commit 096851b
Copy full SHA for 096851b

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.