diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-05-31 08:18:55 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-05-31 08:18:55 -0400 |
| commit | 918537e240c824d32e26e967a9f403a7169ed7d3 (patch) | |
| tree | bc884955005372776666c69274aacbe27efaff0d | |
| parent | 9c61cec7e3847a4b9841c7914d57c93e3387929a (diff) | |
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 <sharpd@cumulusnetworks.com>
| -rw-r--r-- | lib/libfrr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
