mirror of https://github.com/OISF/suricata
tcp: fix unlikely NULL-ptr dereference
If a TCP packet could not get a flow (flow engine out of flows/memory) and there were *only* TCP inspecting rules with the direction explicitly set to 'to_server', a NULL pointer deref could happen. PacketPatternSearchWithStreamCtx would fall through to the 'to_client' case which was not initialized.pull/1966/head
parent
f005310ddf
commit
9c5ee76455
Loading…
Reference in New Issue