mirror of https://github.com/OISF/suricata
detect/frames: fix crash when parsing bad rule
Indexing of Signature::init_data::smlists would fail for a rule that used a frame and fast_pattern w/o content, as the array would only be expanded when adding a content. Adding a check to see if there list id is in bounds is an implicit check for the "no content" case. Ticket: #5530pull/8360/head
parent
8bebc2390d
commit
8c3107472b
Loading…
Reference in New Issue