mirror of
https://github.com/curl/curl.git
synced 2026-07-23 21:27:16 +03:00
parse_proxy: make sure portptr is initialized
Reported-by: Benbuck Nason fixes #3959
This commit is contained in:
parent
a6183ab23a
commit
6961322f70
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue