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; diff --git a/lib/northbound.c b/lib/northbound.c index dbf90c58d4..8a5cd0ef14 100644 --- a/lib/northbound.c +++ b/lib/northbound.c @@ -777,7 +777,7 @@ static void nb_log_callback(const enum nb_event event, zlog_debug( "northbound callback: event [%s] op [%s] xpath [%s] value [%s]", nb_event_name(event), nb_operation_name(operation), xpath, - value); + value ? value : "(NULL)"); } /*