mirror of
https://github.com/curl/curl.git
synced 2026-08-26 22:34:45 +03:00
- Anatoli Tubman found and fixed a crash with Negotiate authentication used on
a re-used connection where both requests used Negotiate.
This commit is contained in:
parent
115446be37
commit
590f0358d8
5 changed files with 17 additions and 6 deletions
|
|
@ -2358,6 +2358,14 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
|
|||
te
|
||||
);
|
||||
|
||||
/*
|
||||
* Free userpwd now --- cannot reuse this for Negotiate and possibly NTLM
|
||||
* with basic and digest, it will be freed anyway by the next request
|
||||
*/
|
||||
|
||||
Curl_safefree (conn->allocptr.userpwd);
|
||||
conn->allocptr.userpwd = NULL;
|
||||
|
||||
if(result)
|
||||
return result;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue