gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 178/264: version: increase buffer space for ssl version output


From: gnunet
Subject: [gnurl] 178/264: version: increase buffer space for ssl version output
Date: Thu, 30 Apr 2020 16:08:01 +0200

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit f62bd9db90f2a1f25c6e30fea95bd828fbfedbf9
Author: Daniel Stenberg <address@hidden>
AuthorDate: Sun Apr 12 23:56:33 2020 +0200

    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];

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]