From 36bc84494c702468e9a37ac8aba7406e8cbaf9d4 Mon Sep 17 00:00:00 2001 From: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com> Date: Sat, 6 Aug 2022 17:48:18 +0100 Subject: [PATCH] scorecard: fix broken build (#8174) Signed-off-by: AdamKorcz --- projects/ossf-scorecard/build.sh | 2 +- projects/ossf-scorecard/yaml_fuzzer.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }