This is an automated email from the ASF dual-hosted git repository. vy pushed a commit to branch 2.x in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit ea6a94ac9a0bc65560362818dda8cc85b97c2678 Author: Volkan Yazıcı <[email protected]> AuthorDate: Tue Oct 1 11:18:31 2024 +0200 Don't change JVM defaults while fuzzing --- oss-fuzz-build.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/oss-fuzz-build.sh b/oss-fuzz-build.sh index 9bb83642b7..d225ba863b 100755 --- a/oss-fuzz-build.sh +++ b/oss-fuzz-build.sh @@ -138,13 +138,6 @@ echo "INFO: Produced using the commit ID: $commitId" # Switch to the script directory cd -- "\$(dirname -- "\${BASH_SOURCE[0]}")" -# Determine JVM args -if [[ "\$@" =~ (^| )-runs=[0-9]+(\$| ) ]]; then - jvmArgs="-Xmx1900m:-Xss900k" -else - jvmArgs="-Xmx2048m:-Xss1024k" -fi - # Verify the classpath classPath="$classPath" echo "\$classPath" | sed 's/:/\n/g' | while read classPathFilePath; do @@ -191,7 +184,6 @@ jazzer_driver \\ --agent_path=jazzer_agent_deploy.jar \\ --cp="\$classPath" \\ --target_class="$fqcn" \\ - --jvm_args="\$jvmArgs" \\ \$@ \\ 2>&1 | tee "\$cmdOutputFile" || { retCode=\$?;
