From 2d5fa75f5b383dd5be8903152b7110ec4665dcb6 Mon Sep 17 00:00:00 2001 From: SexyERIC0723 Date: Wed, 18 Mar 2026 00:26:50 +0000 Subject: [PATCH] oss-fuzz: fix missing '!' in shebang of generated fuzz scripts The heredoc writes `#/bin/sh` instead of `#!/bin/sh`. Without the `!`, the kernel does not recognize the interpreter directive. Co-Authored-By: Claude Opus 4.6 --- oss-fuzz.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oss-fuzz.sh b/oss-fuzz.sh index bd87665125..73209fd8c8 100644 --- a/oss-fuzz.sh +++ b/oss-fuzz.sh @@ -35,7 +35,7 @@ function coverbuild { sed -i -e 's/TestFuzzCorpus/Test'$function'Corpus/' ./"${function,,}"_test.go cat << DOG > $OUT/$fuzzer -#/bin/sh +#!/bin/sh cd $OUT/$path go test -run Test${function}Corpus -v $tags -coverprofile \$1 -coverpkg $coverpkg