net-snmp: disable leaks (#6638)

This commit is contained in:
DavidKorczynski 2021-10-23 15:50:33 +01:00 committed by GitHub
parent 3d74bc93b9
commit fdc4507374
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -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