mirror of https://github.com/OISF/suricata
stream_size operator comparison (fix issue #1488)
`DetectStreamSizeParse` was first checking if mode[0] is '<', which is true for both '<' and '<=', thus '<=' (and resp. '>=') is never matched. This patch does the `strcmp` to '<=' (resp. '>=') within the if block of '<' (resp. '>') to fix #1488.pull/1580/head
parent
45fc619f79
commit
cd038419fd
Loading…
Reference in New Issue