diff --git a/projects/ossf-scorecard/build.sh b/projects/ossf-scorecard/build.sh index 8c618a856..d5a19356c 100644 --- a/projects/ossf-scorecard/build.sh +++ b/projects/ossf-scorecard/build.sh @@ -15,5 +15,5 @@ # ################################################################################ -mv $SRC/yaml_fuzzer.go $SRC/scorecard/policy +mv $SRC/yaml_fuzzer.go $SRC/scorecard/policy/ compile_go_fuzzer github.com/ossf/scorecard/v4/policy FuzzParseFromYAML fuzz_parse_from_yaml gofuzz diff --git a/projects/ossf-scorecard/yaml_fuzzer.go b/projects/ossf-scorecard/yaml_fuzzer.go index 509ed57a7..6d18cb5b8 100644 --- a/projects/ossf-scorecard/yaml_fuzzer.go +++ b/projects/ossf-scorecard/yaml_fuzzer.go @@ -16,6 +16,6 @@ package policy func FuzzParseFromYAML(data []byte) int { - _, _ = ParseFromYAML(data) + _, _ = parseFromYAML(data) return 1 }