This is an automated email from the ASF dual-hosted git repository. vy pushed a commit to branch fuzzing in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit 5ef11a071f0bbffa39cefbfba2c399e75e6a6c8a Author: Volkan Yazıcı <[email protected]> AuthorDate: Thu Aug 8 13:36:50 2024 +0200 Fix fuzzer detection --- oss-fuzz-build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/oss-fuzz-build.sh b/oss-fuzz-build.sh index bb80a46f6d..9dc5273d44 100755 --- a/oss-fuzz-build.sh +++ b/oss-fuzz-build.sh @@ -109,11 +109,13 @@ for module in *-fuzz-test; do className="${fqcn##*.}" scriptPath="$outputDir/$module-$className" cat >"$scriptPath" <<EOF -#!/bin/bash +#!/bin/bash -eu # # This file is auto-generated by https://github.com/apache/logging-log4j2/tree/2.x/oss-fuzz-build.sh # +# OSS-Fuzz detects fuzzers by checking the presence of the magical "LLVMFuzzerTestOneInput" word, hence this line. + # Determine JVM args if [[ "\$@" =~ (^| )-runs=[0-9]+($| ) ]]; then jvmArgs="-Xmx1900m:-Xss900k"
