]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: fix rule inspection order 7308/head
authorVictor Julien <vjulien@oisf.net>
Mon, 25 Apr 2022 16:00:24 +0000 (18:00 +0200)
committerVictor Julien <vjulien@oisf.net>
Tue, 26 Apr 2022 14:51:26 +0000 (16:51 +0200)
commit4bb00964ac22f0f96704cf5befca76d056763142
treea6ddc686998122eb2d3dbd594fdfb45032308be8
parentc40df43609becc467e86d756098829b3174c80c7
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.
src/detect.c