diff options
Diffstat (limited to 'fuzz/fuzz_dga.c')
-rw-r--r-- | fuzz/fuzz_dga.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fuzz/fuzz_dga.c b/fuzz/fuzz_dga.c index d047f531a..3b09550ff 100644 --- a/fuzz/fuzz_dga.c +++ b/fuzz/fuzz_dga.c @@ -22,6 +22,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { if (data[0] % 2 == 0) ndpi_dga_function = ndpi_custom_dga_fn; + else + ndpi_dga_function = NULL; name = ndpi_malloc(size + 1); if (name) { |