NIM: BUG: khm_krb5_initialize() failed to return error code
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 24 Sep 2007 12:30:03 +0000 (12:30 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 24 Sep 2007 12:30:03 +0000 (12:30 +0000)
commitc2df7dfe8375f0696b9418a50f613b34bb86e757
tree5f7ff385e1d256165e251b83297cffd545692927
parentc30fdcd7fddcf0ca8c368959c2ab7c6f7361bb13
NIM: BUG: khm_krb5_initialize() failed to return error code

khm_krb5_initialize() is called in the krb5cred.dll and krb4cred.dll
credential providers in order to ensure that the caller has references
to a valid krb5_context and a valid krb5_ccache.  If the krb5_cc_resolve()
call failed, the error code was not being returned to the caller.
Instead, success was returned which in turn would result in the caller
believing the NULL krb5_ccache pointer was in fact valid.

This fix resolves Microsoft's WER Event ID 432405961.

ticket: new
component: windows

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19967 dc483132-0cff-0310-8789-dd5450dbe970
src/windows/identity/plugins/common/krb5common.c