Add NULL-terminator to app-layer template (fix #1930)

pull/2815/head
Pierre Chifflier 9 years ago committed by Victor Julien
parent 67b97c7948
commit 08e4908dbe

@ -68,6 +68,9 @@ enum {
SCEnumCharMap template_decoder_event_table[] = {
{"EMPTY_MESSAGE", TEMPLATE_DECODER_EVENT_EMPTY_MESSAGE},
// event table must be NULL-terminated
{ NULL, -1 },
};
static TemplateTransaction *TemplateTxAlloc(TemplateState *echo)

Loading…
Cancel
Save