From 44983676cfe657cd0a2d9499bc67961013a15e43 Mon Sep 17 00:00:00 2001 From: Marek Becka Date: Tue, 9 Jun 2015 21:33:36 -0400 Subject: [PATCH] tail plugin: initialize user_data_t --- src/tail.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tail.c b/src/tail.c index ab063389..9ae4139a 100644 --- a/src/tail.c +++ b/src/tail.c @@ -342,6 +342,8 @@ static int ctail_init (void) return (-1); } + memset(&ud, '\0', sizeof(ud)); + for (i = 0; i < tail_match_list_num; i++) { ud.data = (void *)tail_match_list[i]; -- 2.30.2