From 399be12585f83302178175396bcaf4487ffd57a9 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Mon, 20 May 2024 19:06:24 +0200 Subject: Small fixes after API cleanup done in c63446e59 (#2449) --- fuzz/fuzz_ds_ptree.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'fuzz') 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(); -- cgit v1.2.3