Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix sasl_sspi digest authentication bugs #525

Closed
wants to merge 2 commits into from

Conversation

tvbuehler
Copy link
Contributor

  • fixed unicode build for digest authentication
  • fix identity memory leak in digest authentication

@captain-caveman2k captain-caveman2k self-assigned this Nov 12, 2015
@captain-caveman2k
Copy link
Contributor

Many thanks Stefan,

I'll take a further look tonight, as I've got some of my own patches to push, but both commits look pretty good from my initial review - apart from one query (see below) and a very minor code style typo with pointers ;-)

Do you think the failure check of Curl_convert_UTF8_to_tchar() should return CURL_OUT_OF_MEMORY rather than CURL_LOGIN_DENIED like we do in other calls to Curl_convert_UTF8_to_tchar() as well as memory allocs/string dups in other authentication message functions?

@tvbuehler
Copy link
Contributor Author

I ran checksrc.pl and it didn't complain...

The CURLE_LOGIN_DENIED was a copy&paste mistake, I changed it to CURLE_OUT_OF_MEMORY, which should be appropriate afaics in this situation.

@tvbuehler tvbuehler deleted the fix-sasl-digest branch November 13, 2015 14:51
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants