mirror of https://github.com/OISF/suricata
mpm/ac-ks: fix state index truncation in SCACTileSearchLarge
SCACTileSearchLarge uses 32-bit next-state cells holding a 24-bit state index. When there are more than 65536 states, CheckMatch was called with (uint16_t)state, silently discarding the bits beyond 16. Address this by widening CheckMatch's state parameter. Ticket: #8841.pull/16148/head
parent
b0b353d0c0
commit
c3b9cad5dd
Loading…
Reference in New Issue