From f62bd9db90f2a1f25c6e30fea95bd828fbfedbf9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 12 Apr 2020 23:56:33 +0200 Subject: version: increase buffer space for ssl version output To avoid it getting truncated, especially when several SSL backends are built-in. Reported-by: Gisle Vanem Fixes #5222 Closes #5226 --- lib/version.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/version.c b/lib/version.c index ac7730203..4d7c2d0a3 100644 --- a/lib/version.c +++ b/lib/version.c @@ -87,12 +87,12 @@ static size_t brotli_version(char *buf, size_t bufsz) */ char *curl_version(void) { - static char out[250]; + static char out[300]; char *outp; size_t outlen; const char *src[14]; #ifdef USE_SSL - char ssl_version[40]; + char ssl_version[200]; #endif #ifdef HAVE_LIBZ char z_version[40]; -- cgit v1.2.3