Skip to content

Commit 0a05180

Browse files
committed
Clean-up fuzzer reports on false positives (#2949)
1 parent e97c44b commit 0a05180

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

oss-fuzz-build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ jazzer_driver \\
198198
if grep -q "A fatal error has been detected by the Java Runtime Environment" "\$cmdOutputFile"; then
199199
echo "WARN: Detected JRE crash; it doesn't qualify as a fuzzing failure."
200200
echo "WARN: Cleaning up crash reports and exiting with success..."
201+
[ -d "\${FUZZ_INPUTS:-}" ] && rm -f -v "\${FUZZ_INPUTS}/*"
201202
dump_debug
202203
exit 0
203204
else

0 commit comments

Comments
 (0)