From 918537e240c824d32e26e967a9f403a7169ed7d3 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 31 May 2019 08:18:55 -0400 Subject: [PATCH] lib: vtypath_default could be overwritten The vtypath_default variable had a possibility of being overwritten due to size constraints. This fixes this issue. Signed-off-by: Donald Sharp --- lib/libfrr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libfrr.c b/lib/libfrr.c index 15de96feee..c60e26085f 100644 --- a/lib/libfrr.c +++ b/lib/libfrr.c @@ -61,7 +61,7 @@ static char pidfile_default[512]; #ifdef HAVE_SQLITE3 static char dbfile_default[512]; #endif -static char vtypath_default[256]; +static char vtypath_default[512]; bool debug_memstats_at_exit = false; static bool nodetach_term, nodetach_daemon; -- 2.39.5