◐ Shell
clean mode source ↗

Gracefully handle `PermissionError` exceptions that crash fuzzer by DaveLak · Pull Request #1951 · gitpython-developers/GitPython

Conversation

@DaveLak

@DaveLak DaveLak commented

Aug 9, 2024

Copy link Copy Markdown

Contributor

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

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

@Byron Byron left a comment

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for maintaining the fuzzing!

DaveLak reacted with rocket emoji

@Byron Byron merged commit e57cc2c into gitpython-developers:main

Aug 9, 2024

@DaveLak DaveLak deleted the fix-issue-69870-gitpython-fuzz-submodule-uncaught-exception-with-empty-stacktrace branch

August 9, 2024 17:02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Byron Byron Byron approved these changes

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@DaveLak @Byron