gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 39/63: parse_proxy: make sure portptr is initialize


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 39/63: parse_proxy: make sure portptr is initialized
Date: Fri, 07 Jun 2019 18:37:01 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 6961322f707e210729d504854647e6bca06279e5
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue May 28 23:50:49 2019 +0200

    parse_proxy: make sure portptr is initialized
    
    Reported-by: Benbuck Nason
    
    fixes #3959
---
 lib/url.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/url.c b/lib/url.c
index 51515c924..086e214e4 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2310,7 +2310,7 @@ static CURLcode parse_proxy(struct Curl_easy *data,
                             struct connectdata *conn, char *proxy,
                             curl_proxytype proxytype)
 {
-  char *portptr;
+  char *portptr = NULL;
   long port = -1;
   char *proxyuser = NULL;
   char *proxypasswd = NULL;

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



reply via email to

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