aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-14 15:16:07 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-14 15:16:07 +0200
commit1d85e09ccd1696655c86cacbf14e50e3a52e3ffb (patch)
tree84692687c46981d3f706302c27f96341641d1765
parentdb80de0528c56cb5dc44810504a1ba61645fde23 (diff)
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).
-rw-r--r--lib/version.c2
1 files changed, 1 insertions, 1 deletions
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);