gnunet-svn
[Top][All Lists]
Advanced

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

[gnurl] 113/282: strerror: Increase STRERROR_LEN 128 -> 256


From: gnunet
Subject: [gnurl] 113/282: strerror: Increase STRERROR_LEN 128 -> 256
Date: Wed, 01 Apr 2020 14:29:38 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 1c4fa67e8a8fcf65f90470c0db2a25c81735a06c
Author: Jay Satiro <address@hidden>
AuthorDate: Wed Feb 12 16:48:16 2020 -0500

    strerror: Increase STRERROR_LEN 128 -> 256
    
    STRERROR_LEN is the constant used throughout the library to set the size
    of the buffer on the stack that the curl strerror functions write to.
    
    Prior to this change some extended length Windows error messages could
    be truncated.
    
    Closes https://github.com/curl/curl/pull/4920
---
 lib/strerror.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/strerror.h b/lib/strerror.h
index 278c1082f..a314327bb 100644
--- a/lib/strerror.h
+++ b/lib/strerror.h
@@ -24,7 +24,7 @@
 
 #include "urldata.h"
 
-#define STRERROR_LEN 128 /* a suitable length */
+#define STRERROR_LEN 256 /* a suitable length */
 
 const char *Curl_strerror(int err, char *buf, size_t buflen);
 #if defined(WIN32) || defined(_WIN32_WCE)

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



reply via email to

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