Fix Improper Import Order Breaking `fuzz_submodule` Fuzzer · gitpython-developers/GitPython@491e134 · GitHub
Skip to content

Commit 491e134

Browse files
committed
Fix Improper Import Order Breaking fuzz_submodule Fuzzer
ClusterFuzz runs of the `fuzz_submodule` target have been failing because the `git` import was placed before the condition that sets the Git executable path. The order in which `git` is imported matters because it attempts to find a Git executable as the import is loaded (via `refresh()` in `git/__init__.py`.) As per #1909, we configure the ClusterFuzz environment to use a bundled Git executable via the env variable condition in all fuzz targets.
1 parent e51bfdf commit 491e134

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

fuzzing/fuzz-targets/fuzz_submodule.py

Lines changed: 2 additions & 1 deletion

0 commit comments

Comments
 (0)