]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: fix rule inspection order 7325/head
authorVictor Julien <vjulien@oisf.net>
Mon, 25 Apr 2022 16:00:24 +0000 (18:00 +0200)
committerVictor Julien <vjulien@oisf.net>
Wed, 27 Apr 2022 09:27:24 +0000 (11:27 +0200)
commitc72721ae1cb4c5b22286c737f2d103a1836657d4
tree1d2257c3ca6f5566f20ad8b58870f3ec479e6359
parent69a63043f3e754104c2c456992fddea0f386ea55
detect: fix rule inspection order

Fix rules from the 'match' list getting added to the tx candidates list
unsorted. In some cases this could lead to the same sid getting inspected
twice leading to a DEBUG_VALIDATION_BUG_ON trigger.

Bug: #5144.
(cherry picked from commit 4bb00964ac22f0f96704cf5befca76d056763142)
src/detect.c