ClusterFuzzLite: fix fuzzer (#11649)

Unblocks the fuzzer causing CI issues e.g.
https://github.com/google/oss-fuzz/pull/11644

Fixes: https://github.com/google/oss-fuzz/issues/11648

Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
DavidKorczynski 2024-02-29 03:32:52 +00:00 committed by GitHub
parent a40cd76e14
commit c9f5d87321
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -28,7 +28,10 @@ with atheris.instrument_imports():
REPO_PATH = '/src/curl'
PROJECT_NAME = 'curl'
oss_fuzz_coverage = get_coverage.OSSFuzzCoverage(REPO_PATH, PROJECT_NAME)
with mock.patch('get_coverage._get_oss_fuzz_fuzzer_stats_dir_url',
return_value="randomurl"):
oss_fuzz_coverage = get_coverage.OSSFuzzCoverage(REPO_PATH, PROJECT_NAME)
def TestOneInput(data):