OSS-Fuzz: '.' --> '_' in fuzzer suffix

Referring to https://github.com/google/oss-fuzz/issues/7575, if the
fuzzer suffix contains periods, it can cause ClusterFuzz to misinterpret
the file extension of the fuzzer executables and thus misidentify them.
This commit is contained in:
DRC
2022-04-26 10:42:35 -05:00
parent d0e7c4548a
commit 9171fd4bde

View File

@@ -6,6 +6,7 @@ set -e
FUZZER_SUFFIX=
if [ $# -ge 1 ]; then
FUZZER_SUFFIX="$1"
FUZZER_SUFFIX="`echo $1 | sed 's/\./_/g'`"
fi
cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_STATIC=1 -DENABLE_SHARED=0 \