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


The following commit(s) were added to refs/heads/2.x by this push:
     new 0a05180f7e Clean-up fuzzer reports on false positives (#2949)
0a05180f7e is described below

commit 0a05180f7eebc0a121bf36a7b22d5f608c2609e1
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Thu Sep 19 18:49:54 2024 +0200

    Clean-up fuzzer reports on false positives (#2949)
---
 oss-fuzz-build.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/oss-fuzz-build.sh b/oss-fuzz-build.sh
index 98f0650695..2a6045febc 100755
--- a/oss-fuzz-build.sh
+++ b/oss-fuzz-build.sh
@@ -198,6 +198,7 @@ jazzer_driver \\
     if grep -q "A fatal error has been detected by the Java Runtime 
Environment" "\$cmdOutputFile"; then
       echo "WARN: Detected JRE crash; it doesn't qualify as a fuzzing failure."
       echo "WARN: Cleaning up crash reports and exiting with success..."
+      [ -d "\${FUZZ_INPUTS:-}" ] && rm -f -v "\${FUZZ_INPUTS}/*"
       dump_debug
       exit 0
     else

Reply via email to