From d32bee97f93805cab0909424f729affd2f2cafa9 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Mon, 22 Apr 2019 18:20:47 +0000 Subject: [PATCH] vrrpd: fix global buffer overflow from style fix I knew I had done that for a reason Signed-off-by: Quentin Young --- vrrpd/vrrp_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vrrpd/vrrp_main.c b/vrrpd/vrrp_main.c index 98b907d013..bb3cc595d8 100644 --- a/vrrpd/vrrp_main.c +++ b/vrrpd/vrrp_main.c @@ -57,7 +57,7 @@ struct zebra_privs_t vrrp_privs = { .cap_num_p = array_size(_caps_p), .cap_num_i = 0}; -struct option longopts[] = {}; +struct option longopts[] = {{0}}; /* Master of threads. */ struct thread_master *master; -- 2.39.5