mirror of
https://github.com/moparisthebest/curl
synced 2024-11-04 08:35:05 -05:00
parse_proxy: make sure portptr is initialized
Reported-by: Benbuck Nason fixes #3959
This commit is contained in:
parent
a6183ab23a
commit
6961322f70
@ -2310,7 +2310,7 @@ static CURLcode parse_proxy(struct Curl_easy *data,
|
|||||||
struct connectdata *conn, char *proxy,
|
struct connectdata *conn, char *proxy,
|
||||||
curl_proxytype proxytype)
|
curl_proxytype proxytype)
|
||||||
{
|
{
|
||||||
char *portptr;
|
char *portptr = NULL;
|
||||||
long port = -1;
|
long port = -1;
|
||||||
char *proxyuser = NULL;
|
char *proxyuser = NULL;
|
||||||
char *proxypasswd = NULL;
|
char *proxypasswd = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user