mirror of https://github.com/OISF/suricata
detect: fix inspection order with stateful rules
When stateful detection rules, for which detection has already started for a previous packet, are added to the candidates array, the array is sorted to mantain the correct inspection order. However, due to a trivial error in the sort helper the array was sorted in descending instead of ascending order.pull/5610/head
parent
ba781265a4
commit
4664444067
Loading…
Reference in New Issue