summaryrefslogtreecommitdiff
path: root/proto_nlmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto_nlmsg.c')
-rw-r--r--proto_nlmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_nlmsg.c b/proto_nlmsg.c
index 3471094..157ea58 100644
--- a/proto_nlmsg.c
+++ b/proto_nlmsg.c
@@ -18,7 +18,7 @@ static void nlmsg(struct pkt_buff *pkt)
struct nlmsghdr *hdr = (struct nlmsghdr *) pkt_pull(pkt, sizeof(*hdr));
char type[32];
char flags[128];
- char procname[1024];
+ char procname[1024] = {};
if (hdr == NULL)
return;