mirror of https://github.com/OISF/suricata
detect: fix crash when stream inspect runs on UDP
Certain rules can apply to both TCP and UDP. For example 'alert dns' rules are inspected against both TCP and UDP. This lead to the stream inspect engine being called on a UDP packet. This patch fixes the issue by exiting early from the stream inspect engine if a) proto is not TCP or b) ssn is not available Bug #2158.pull/2811/head
parent
6226338d5b
commit
885b8cefec
Loading…
Reference in New Issue