aboutsummaryrefslogtreecommitdiff
path: root/fuzz/fuzz_filecfg_protocols.c
diff options
context:
space:
mode:
Diffstat (limited to 'fuzz/fuzz_filecfg_protocols.c')
-rw-r--r--fuzz/fuzz_filecfg_protocols.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fuzz/fuzz_filecfg_protocols.c b/fuzz/fuzz_filecfg_protocols.c
index b42cb6524..c8ad486da 100644
--- a/fuzz/fuzz_filecfg_protocols.c
+++ b/fuzz/fuzz_filecfg_protocols.c
@@ -5,14 +5,11 @@
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
struct ndpi_detection_module_struct *ndpi_struct;
FILE *fd;
- NDPI_PROTOCOL_BITMASK all;
/* To allow memory allocation failures */
fuzz_set_alloc_callbacks_and_seed(size);
ndpi_struct = ndpi_init_detection_module(NULL);
- NDPI_BITMASK_SET_ALL(all);
- ndpi_set_protocol_detection_bitmask2(ndpi_struct, &all);
ndpi_set_config(ndpi_struct, NULL, "log.level", "3");
ndpi_set_config(ndpi_struct, "all", "log", "1");