Fuzzing: Gracefully Handle Uninteresting Error to Fix OSS-Fuzz Issue by DaveLak · Pull Request #1952 · gitpython-developers/GitPython
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks for making this work!
It's interesting that the Rust version of this doesn't have this entire class of issues - the only thing that matters are panics, errors like these are considered valid behaviour.
Of course, in Python there is no such differentiation, hence the extra-trouble of having to allow all kinds of exceptions that the fuzzer can legitimately run into.