mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
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
This commit is contained in:
parent
50842c1b32
commit
f62bd9db90
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user