Menu

#1074 SSPI Negotiate

closed-fixed
http (206)
5
2013-06-21
2011-12-28
No

Hello,
Curl 7.23.1, file http_negotiate_sspi.c
I think there is a mistake in function Curl_input_negotiate line 200

if(input_token) {
in_buff_desc.ulVersion = 0;
in_buff_desc.cBuffers = 1;
>>> in_buff_desc.pBuffers = &out_sec_buff; <<< This might probably be in_sec_buff instead of out_sec_buff.

in_sec_buff.cbBuffer = input_token_len;
in_sec_buff.BufferType = SECBUFFER_TOKEN;
in_sec_buff.pvBuffer = input_token;
}

Kind regards,
Patrice.

Discussion

  • Daniel Stenberg

    Daniel Stenberg - 2012-01-01

    Thanks for the report, this problem is now fixed in the git repository.

    To try it out, you either checkout/update your git clone: http://curl.haxx.se/source.html

    or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/

     
  • Daniel Stenberg

    Daniel Stenberg - 2012-01-01
    • status: open --> closed-fixed