From: Quentin Young Date: Mon, 22 Apr 2019 18:20:47 +0000 (+0000) Subject: vrrpd: fix global buffer overflow from style fix X-Git-Tag: base_7.2~330^2~12 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=d32bee97f93805cab0909424f729affd2f2cafa9;p=mirror%2Ffrr.git vrrpd: fix global buffer overflow from style fix I knew I had done that for a reason Signed-off-by: Quentin Young --- 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;