From 0a953fe1ce2a030916b094aac7618d039ecff485 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Wed, 19 Jun 2024 13:42:32 +0200 Subject: [PATCH] detect: add to signature mask for decode events Ticket: 6291 --- src/detect-engine-build.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/detect-engine-build.c b/src/detect-engine-build.c index 8f292025a3..f69def1c7d 100644 --- a/src/detect-engine-build.c +++ b/src/detect-engine-build.c @@ -536,9 +536,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;