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 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. Bug #5011.pull/6860/head
parent
c6be6d2c6f
commit
e902aaf838
Loading…
Reference in New Issue