aboutsummaryrefslogtreecommitdiff
path: root/projects/net-snmp
diff options
context:
space:
mode:
authorDavidKorczynski <david@adalogics.com>2021-08-06 17:12:58 +0100
committerGitHub <noreply@github.com>2021-08-06 16:12:58 +0000
commit779d8562a9fe53dd84c6102f28b51d287d235590 (patch)
tree58ddaccd3b34de60fb8b0c23a7cf26f8b5e9cf27 /projects/net-snmp
parent165e3a368c5ec7418aee5dbf17cbea2a37e23540 (diff)
downloadoss-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-xprojects/net-snmp/build.sh4
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 \