Small fixes after API cleanup done in c63446e59 (#2449)

This commit is contained in:
Ivan Nardi
2024-05-20 19:06:24 +02:00
committed by GitHub
parent 2093ac5bf6
commit 399be12585
3 changed files with 20 additions and 9 deletions
+3 -4
View File
@@ -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>();