mirror of https://github.com/OISF/suricata
json: fix malformed output
Even though the json output callback is called with a null terminated string, it's not useable directly. The size parameter to the callback might be a lot smaller than the string size. Libjansson gives the size up to the first point that needs escaping.pull/1754/head
parent
c80990fe10
commit
bec913b40c
Loading…
Reference in New Issue