gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 123/220: curl_version: bump string buffer size to 2


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 123/220: curl_version: bump string buffer size to 250
Date: Thu, 12 Sep 2019 17:28:03 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 1d85e09ccd1696655c86cacbf14e50e3a52e3ffb
Author: Daniel Stenberg <address@hidden>
AuthorDate: Wed Aug 14 15:16:07 2019 +0200

    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).
---
 lib/version.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

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



reply via email to

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