From 1d85e09ccd1696655c86cacbf14e50e3a52e3ffb Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 14 Aug 2019 15:16:07 +0200 Subject: curl_version: bump string buffer size to 250 With HTTP/3 libs and plenty TLS libs, I manged to hit the limit (which causes a truncated output). --- lib/version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/version.c b/lib/version.c index 5a969b943..afad726d8 100644 --- a/lib/version.c +++ b/lib/version.c @@ -103,7 +103,7 @@ static size_t brotli_version(char *buf, size_t bufsz) char *curl_version(void) { static bool initialized; - static char version[200]; + static char version[250]; char *ptr = version; size_t len; size_t left = sizeof(version); -- cgit v1.2.3