]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: fix duplicate detect state issue 7787/head
authorVictor Julien <vjulien@oisf.net>
Sat, 27 Aug 2022 05:50:45 +0000 (07:50 +0200)
committerShivani Bhardwaj <shivani@oisf.net>
Mon, 29 Aug 2022 04:25:59 +0000 (09:55 +0530)
commit1bff888947345505c773ab07337546aa72e95d16
treee9ecaa19f10bca4fc2e4303592f38a75aebe83f2
parentd31beba8d4e75218994a6654af41c947cf24ae51
detect: fix duplicate detect state issue

For protocols with multi buffer inspection there could be multiple times
the same sid would be queued into the candidates queue. This triggered
a debug validation check.

W/o debug validation this would lead to duplicate work and possibly multiple
alerts where a single one would be appropriate.

Bug: 5419.
src/detect.c