From 6cb9bbd1e3646a34a4691346534208abc209f0b8 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 4 Apr 2011 12:38:15 +0200 Subject: [PATCH] Make sure TAG alerts don't work with an uninitialized alert_msg pointer. --- src/detect-engine-alert.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detect-engine-alert.c b/src/detect-engine-alert.c index d0a1329dbc..4844dc7aa9 100644 --- a/src/detect-engine-alert.c +++ b/src/detect-engine-alert.c @@ -198,6 +198,7 @@ int PacketAlertAppendTag(Packet *p, PacketAlert *pa) pa->class = 0; pa->class_msg = NULL; pa->references = NULL; + pa->alert_msg = NULL; return 0; }