fuzz: extend coverage (#2073)

This commit is contained in:
Ivan Nardi
2023-08-20 15:18:19 +02:00
committed by GitHub
parent 5867f43fae
commit cc4461f424
29 changed files with 1041 additions and 84 deletions
+2 -2
View File
@@ -469,14 +469,14 @@ struct ndpi_workflow* ndpi_workflow_init(const struct ndpi_workflow_prefs * pref
if(module == NULL) {
LOG(NDPI_LOG_ERROR, "global structure initialization failed\n");
exit(-1);
return NULL;
}
workflow = ndpi_calloc(1, sizeof(struct ndpi_workflow));
if(workflow == NULL) {
LOG(NDPI_LOG_ERROR, "global structure initialization failed\n");
ndpi_free(module);
exit(-1);
return NULL;
}
workflow->pcap_handle = pcap_handle;