1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 06:25:03 -05:00

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).
This commit is contained in:
Daniel Stenberg 2019-08-14 15:16:07 +02:00
parent db80de0528
commit 1d85e09ccd
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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);