mirror of https://github.com/OISF/suricata
flow-timeout: fix init of pseudo packet
The code was not checking if we had enough room in the direct data. In case default_packet_size was set really small, this was resulting in data being written over the data and causing a crash. The patch fixes the issue by forcing an allocation if the direct data size in the Packet is to small.pull/1365/head
parent
e138a2ac1e
commit
b8e7d3a259
Loading…
Reference in New Issue