mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Fix some errors and leaks found while fuzzing locally (#7757)
This commit is contained in:
parent
e1c9f92c72
commit
499d060fb1
8 changed files with 20 additions and 3 deletions
|
|
@ -197,9 +197,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len) {
|
|||
iface->dissectPacket(DUMMY_BRIDGE_INTERFACE_ID, true, NULL, hdr, pkt,
|
||||
&p, &srcHost, &dstHost, &flow);
|
||||
}
|
||||
pcap_close(pcap_handle);
|
||||
|
||||
end:
|
||||
fclose(fd);
|
||||
iface->cleanup();
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue