From fdc4507374a4ec782f6466ea0c0111d333f6427f Mon Sep 17 00:00:00 2001 From: DavidKorczynski Date: Sat, 23 Oct 2021 15:50:33 +0100 Subject: [PATCH] net-snmp: disable leaks (#6638) --- projects/net-snmp/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/projects/net-snmp/build.sh b/projects/net-snmp/build.sh index 3753b7638..2b7cdda1d 100755 --- a/projects/net-snmp/build.sh +++ b/projects/net-snmp/build.sh @@ -18,3 +18,9 @@ # Configure and build Net-SNMP and the fuzzers. export CC CXX CFLAGS CXXFLAGS SRC WORK OUT LIB_FUZZING_ENGINE ci/build.sh + +# Avoid leak detection atm +for fuzzer in mib agent_e2e; do + echo "[libfuzzer]" > $OUT/snmp_${fuzzer}_fuzzer.options + echo "detect_leaks=0" >> $OUT/snmp_${fuzzer}_fuzzer.options +done