[krbdev.mit.edu #6943] incorrect reference in spnego_gss_set_cred_option
Arlene Berry via RT
rt-comment at krbdev.mit.edu
Wed Aug 10 14:41:39 EDT 2011
In src/lib/gssapi/spnego/spnego_mech.c:
OM_uint32
KRB5_CALLCONV spnego_gss_set_cred_option(
OM_uint32 *minor_status,
gss_cred_id_t *cred_handle,
const gss_OID desired_object,
const gss_buffer_t value)
{
OM_uint32 ret;
OM_uint32 tmp_minor_status;
spnego_gss_cred_id_t spcred = (spnego_gss_cred_id_t)cred_handle;
gss_cred_id_t mcred;
...
*cred_handle = (gss_cred_id_t)spcred;
It looks to me like that initial spcred assignment should be *cred_handle, not cred_handle.
More information about the krb5-bugs
mailing list