aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-10-10 21:18:24 +0200
committerGitHub <noreply@github.com>2024-10-10 21:18:24 +0200
commit785f80f9e776e68b5458576ef958499b208171a3 (patch)
treeb94a829e8ea1b86ce813a70a628242c7c813972e
parent7bdb2796c3c478d99ffd1bb97e74bfa1766f58c0 (diff)
fuzz: fix fuzzing (#2586)
-rw-r--r--fuzz/fuzz_readerutils_parseprotolist.cpp2
-rw-r--r--fuzz/fuzz_readerutils_workflow.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/fuzz/fuzz_readerutils_parseprotolist.cpp b/fuzz/fuzz_readerutils_parseprotolist.cpp
index 167cd0000..9b3549cf6 100644
--- a/fuzz/fuzz_readerutils_parseprotolist.cpp
+++ b/fuzz/fuzz_readerutils_parseprotolist.cpp
@@ -13,7 +13,7 @@ u_int8_t max_num_udp_dissected_pkts = 16 /* 8 is enough for most protocols, Sign
int malloc_size_stats = 0;
FILE *fingerprint_fp = NULL;
bool do_load_lists = false;
-
+char *addr_dump_path = NULL;
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
FuzzedDataProvider fuzzed_data(data, size);
diff --git a/fuzz/fuzz_readerutils_workflow.cpp b/fuzz/fuzz_readerutils_workflow.cpp
index 1ac3c5506..257a5661c 100644
--- a/fuzz/fuzz_readerutils_workflow.cpp
+++ b/fuzz/fuzz_readerutils_workflow.cpp
@@ -15,6 +15,7 @@ u_int8_t max_num_udp_dissected_pkts = 16 /* 8 is enough for most protocols, Sign
int malloc_size_stats = 0;
FILE *fingerprint_fp = NULL;
bool do_load_lists = false;
+char *addr_dump_path = NULL;
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
FuzzedDataProvider fuzzed_data(data, size);