]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: fix decoder only events
authorVictor Julien <vjulien@oisf.net>
Tue, 3 Dec 2024 15:51:26 +0000 (16:51 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 5 Dec 2024 09:02:25 +0000 (10:02 +0100)
Add missing setup part of the decoder event sgh.

Bug: #7414.

src/detect-engine-build.c

index c85f53d5051dd0b21ebd8befa0d6e1818e51a27e..6255ab49838bbe99db74b187423f2d120d2b76ef 100644 (file)
@@ -2029,6 +2029,7 @@ int SigPrepareStage4(DetectEngineCtx *de_ctx)
     if (de_ctx->decoder_event_sgh != NULL) {
         /* no need to set filestore count here as that would make a
          * signature not decode event only. */
+        SigGroupHeadBuildNonPrefilterArray(de_ctx, de_ctx->decoder_event_sgh);
     }
 
     int dump_grouping = 0;