From 441a7fa63b8be0645c3586545fd1eed010071020 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 18 Oct 2011 20:42:45 +0000 Subject: [PATCH] pull up r25096 from trunk ------------------------------------------------------------------------ r25096 | ghudson | 2011-08-11 11:03:28 -0400 (Thu, 11 Aug 2011) | 7 lines ticket: 6943 target_version: 1.9.2 tags: pullup Correctly dereference cred_handle when assigning to spcred in spnego_gss_set_cred_option. Reported by aberry@likewise.com. ticket: 6943 version_fixed: 1.9.2 status: resolved git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-9@25378 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/spnego/spnego_mech.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/gssapi/spnego/spnego_mech.c b/src/lib/gssapi/spnego/spnego_mech.c index 784714669..f9f160bc5 100644 --- a/src/lib/gssapi/spnego/spnego_mech.c +++ b/src/lib/gssapi/spnego/spnego_mech.c @@ -2254,7 +2254,7 @@ spnego_gss_set_cred_option( { OM_uint32 ret; OM_uint32 tmp_minor_status; - spnego_gss_cred_id_t spcred = (spnego_gss_cred_id_t)cred_handle; + spnego_gss_cred_id_t spcred = (spnego_gss_cred_id_t)*cred_handle; gss_cred_id_t mcred; mcred = (spcred == NULL) ? GSS_C_NO_CREDENTIAL : spcred->mcred; -- 2.26.2