]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/engine: fix whitelisting check
authorVictor Julien <vjulien@oisf.net>
Fri, 12 Jan 2024 07:03:06 +0000 (12:33 +0530)
committerVictor Julien <victor@inliniac.net>
Fri, 24 May 2024 17:11:03 +0000 (19:11 +0200)
commit40d3e1e0cc0f4be26779f751de18ed83d625ae31
tree21b95157c2016737a25fe0bcc66d94ab9210d1b4
parent930eadddcbe8b471b3c29d54cb4f19e24e587d17
detect/engine: fix whitelisting check

In the commit 4a00ae607, the whitelisting check was updated in a quest
to make use of the conditional better but it made things worse as every
range would be whitelisted as long as it had any of the default
whitelisted port which is very common.

(cherry picked from commit fb9680bb7b17f6744c9f6f26abf4c902c83de8f3)
src/detect-engine-build.c