diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-07-18 07:41:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-18 07:41:56 +0200 |
commit | 3edfad01a1bb22b33bd5bafa0ceeb13e27f03e67 (patch) | |
tree | 6236e68075678a76a402e37f0ff09e5e273faf13 /fuzz/fuzz_dga.c | |
parent | 09548bb7cf661f42cc496c412ccfd62a864f5029 (diff) |
fuzz: extend fuzzing coverage (#2052)
Added/merged some traces.
Improved Socks identification
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) { |