mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-11-29 11:11:52 +00:00
ndpi_serialize_string_string() computed the value length with strlen() and passed it into the u_int16_t value_len parameter of ndpi_serialize_string_string_len(), silently truncating any value longer than 65535 bytes (mod 65536). Fail with -1 instead. Add serializerCsvMaxLengthUnitTest() covering the longest representable value, rejection of an over-length value, and that the serializer stays usable afterwards. |
||
|---|---|---|
| .. | ||
| Makefile.in | ||
| unit.c | ||