diff options
author | DavidKorczynski <david@adalogics.com> | 2021-08-06 17:12:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-06 16:12:58 +0000 |
commit | 779d8562a9fe53dd84c6102f28b51d287d235590 (patch) | |
tree | 58ddaccd3b34de60fb8b0c23a7cf26f8b5e9cf27 /projects/net-snmp | |
parent | 165e3a368c5ec7418aee5dbf17cbea2a37e23540 (diff) | |
download | oss-fuzz-779d8562a9fe53dd84c6102f28b51d287d235590.tar.gz |
net-snmp: fix build following upstream changes (#6177)
* net-snmp: change location of fuzzers upstream.
* remove tmp checkout.
Diffstat (limited to 'projects/net-snmp')
-rwxr-xr-x | projects/net-snmp/build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/net-snmp/build.sh b/projects/net-snmp/build.sh index 158c99ddf..fcd9a4ac6 100755 --- a/projects/net-snmp/build.sh +++ b/projects/net-snmp/build.sh @@ -21,11 +21,11 @@ make # build fuzzers and link statically -fuzzers=$(find ./fuzzing -name "*_fuzzer.c") +fuzzers=$(find ./testing/fuzzing -name "*_fuzzer.c") suffix="_fuzzer\.c" for fuzzer in ${fuzzers}; do fuzzname=$(basename -- ${fuzzer%$suffix}) - $CC $CFLAGS -c -Iinclude -Iagent/mibgroup/agentx ./fuzzing/${fuzzname}_fuzzer.c -o $WORK/${fuzzname}_fuzzer.o + $CC $CFLAGS -c -Iinclude -Iagent/mibgroup/agentx ./testing/fuzzing/${fuzzname}_fuzzer.c -o $WORK/${fuzzname}_fuzzer.o $CXX $CXXFLAGS $WORK/${fuzzname}_fuzzer.o \ $LIB_FUZZING_ENGINE snmplib/.libs/libnetsnmp.a \ agent/.libs/libnetsnmpagent.a \ |