diff options
author | Toni <matzeton@googlemail.com> | 2022-08-02 17:54:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-02 17:54:44 +0200 |
commit | b3e722e5a8164900a0bfb510ebaafaf5080c4511 (patch) | |
tree | 4a2ba4485dce14e70f302638949912e0bc158c3b /fuzz | |
parent | 26aafd931c1a25a631a564ab8f468466344bc731 (diff) |
Improved nDPI JSON serialization. (#1689)
* fixed autoconf CFLAGS/LDFLAGS MSAN issue which could lead to build errors
* introduced portable version of gmtime_r aka ndpi_gmtime_r
* do as most as possible of the serialization work in ndpi_utils.c
* use flow2json in ndpiReader
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'fuzz')
-rw-r--r-- | fuzz/fuzz_ndpi_reader.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fuzz/fuzz_ndpi_reader.c b/fuzz/fuzz_ndpi_reader.c index 508bca3ca..a85aa574c 100644 --- a/fuzz/fuzz_ndpi_reader.c +++ b/fuzz/fuzz_ndpi_reader.c @@ -79,7 +79,6 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { if (pkts == NULL) { remove(pcap_path); free(pcap_path); - ndpi_term_serializer(&workflow->ndpi_serializer); return 0; } if (ndpi_is_datalink_supported(pcap_datalink(pkts)) == 0) @@ -88,7 +87,6 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { pcap_close(pkts); remove(pcap_path); free(pcap_path); - ndpi_term_serializer(&workflow->ndpi_serializer); return 0; } |