diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-05-20 19:06:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 19:06:24 +0200 |
commit | 399be12585f83302178175396bcaf4487ffd57a9 (patch) | |
tree | fac7e82eda2a7954338d5038b0c84518bb51d89d /fuzz | |
parent | 2093ac5bf6444db290cdf1c7d64cf4b80f415d2f (diff) |
Small fixes after API cleanup done in c63446e59 (#2449)
Diffstat (limited to 'fuzz')
-rw-r--r-- | fuzz/fuzz_ds_ptree.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fuzz/fuzz_ds_ptree.cpp b/fuzz/fuzz_ds_ptree.cpp index 6659fccc8..dfd723d33 100644 --- a/fuzz/fuzz_ds_ptree.cpp +++ b/fuzz/fuzz_ds_ptree.cpp @@ -50,10 +50,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { } /* Some higher level functions */ - ndpi_load_ipv4_ptree_file(t, "ipv4_addresses.txt", NDPI_PROTOCOL_TLS); - ndpi_load_ipv4_ptree_file(t, "invalid_filename", NDPI_PROTOCOL_TLS); - ndpi_load_ipv6_ptree_file(t, "ipv6_addresses.txt", NDPI_PROTOCOL_TLS); - ndpi_load_ipv6_ptree_file(t, "invalid_filename", NDPI_PROTOCOL_TLS); + ndpi_load_ptree_file(t, "ipv4_addresses.txt", NDPI_PROTOCOL_TLS); + ndpi_load_ptree_file(t, "invalid_filename", NDPI_PROTOCOL_TLS); + ndpi_load_ptree_file(t, "ipv6_addresses.txt", NDPI_PROTOCOL_TLS); /* Random search */ num_iteration = fuzzed_data.ConsumeIntegral<u_int8_t>(); |