Compilation fix

This commit is contained in:
Luca Deri
2021-04-26 10:50:19 +02:00
parent 4a09707e48
commit 87ad2b58dc
2 changed files with 837 additions and 835 deletions
File diff suppressed because it is too large Load Diff
+3 -1
View File
@@ -85,8 +85,10 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
uint8_t *packet_checked = malloc(header->caplen);
if(packet_checked) {
ndpi_risk flow_risk;
memcpy(packet_checked, pkt, header->caplen);
ndpi_workflow_process_packet(workflow, header, packet_checked, NULL);
ndpi_workflow_process_packet(workflow, header, packet_checked, &flow_risk, NULL);
free(packet_checked);
}
}