]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: add to signature mask for decode events 11361/head 11364/head
authorPhilippe Antoine <pantoine@oisf.net>
Wed, 19 Jun 2024 11:42:32 +0000 (13:42 +0200)
committerVictor Julien <vjulien@oisf.net>
Mon, 24 Jun 2024 14:31:09 +0000 (16:31 +0200)
Ticket: 6291
(cherry picked from commit 0a953fe1ce2a030916b094aac7618d039ecff485)

src/detect-engine-build.c

index 894e4baea8d2ce7050831590035d5fb0b30e31d4..c34a8adaadfb08c822c13040573f2e256237f248 100644 (file)
@@ -553,9 +553,12 @@ static int SignatureCreateMask(Signature *s)
                 }
                 break;
             }
+            case DETECT_DECODE_EVENT:
+                // fallthrough
+            case DETECT_STREAM_EVENT:
+                // fallthrough
             case DETECT_AL_APP_LAYER_EVENT:
-                s->mask |= SIG_MASK_REQUIRE_ENGINE_EVENT;
-                break;
+                // fallthrough
             case DETECT_ENGINE_EVENT:
                 s->mask |= SIG_MASK_REQUIRE_ENGINE_EVENT;
                 break;