From c4c1bf3b79a31fab7d586e1e797cdea50dbd4f01 Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Sun, 15 Sep 2019 10:25:25 +0100 Subject: [PATCH] librb: Fix GCC 8 warning; 640 bytes should be enough --- librb/src/rb_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librb/src/rb_lib.c b/librb/src/rb_lib.c index 05b9b7ee..e891bf8a 100644 --- a/librb/src/rb_lib.c +++ b/librb/src/rb_lib.c @@ -188,7 +188,7 @@ extern const char *librb_serno; const char * rb_lib_version(void) { - static char version_info[512]; + static char version_info[640]; char ssl_info[512]; rb_get_ssl_info(ssl_info, sizeof(ssl_info)); snprintf(version_info, sizeof(version_info), "librb version: %s - %s", librb_serno, ssl_info);