Loading lib/url.c +1 −0 Original line number Diff line number Diff line Loading @@ -1520,6 +1520,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, else { memcpy(p, userpwd, username_len); p[username_len] = '\0'; Curl_safefree(data->set.str[STRING_USERNAME]); data->set.str[STRING_USERNAME] = p; } Loading Loading
lib/url.c +1 −0 Original line number Diff line number Diff line Loading @@ -1520,6 +1520,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, else { memcpy(p, userpwd, username_len); p[username_len] = '\0'; Curl_safefree(data->set.str[STRING_USERNAME]); data->set.str[STRING_USERNAME] = p; } Loading