diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-01-27 07:09:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 07:09:18 +0100 |
commit | 6d00a9e0bd4cdb2be26577f53b75b3078cefd4c3 (patch) | |
tree | 327e7d1bc8e89a990e99ea8cfb4a748c80d12f32 /src/lib/protocols/softether.c | |
parent | eea99564308fffca675918506a6e12f7a4f71a6f (diff) |
fuzz: add a new fuzzer to test serialization/deserialization code (#1876)
Autodetecting the needed buffer size is quite complex (especially with
float/double values) so it is mandatory to properly check for
`ndpi_snprintf` truncation.
These issues have been undetected so far probably because the default
buffer is big enough for all common cases.
Add an example of usage of `ndpi_deserialize_clone_all()` (taken from
`ntopng`)
Diffstat (limited to 'src/lib/protocols/softether.c')
0 files changed, 0 insertions, 0 deletions