From: Tom Yu Date: Mon, 14 Jun 2004 05:05:38 +0000 (+0000) Subject: * init_sec_context.c (krb5_gss_init_sec_context): Fix pointer X-Git-Tag: krb5-1.4-beta1~336 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f50856556eaecaf5f0a47336d210b14d5138fc51;p=krb5.git * init_sec_context.c (krb5_gss_init_sec_context): Fix pointer assignment when retrieving k5_context from existing context_handle. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16440 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index 3ebe42c5f..84fb45606 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,3 +1,9 @@ +2004-06-14 Tom Yu + + * init_sec_context.c (krb5_gss_init_sec_context): Fix pointer + assignment when retrieving k5_context from existing + context_handle. + 2004-06-10 Ken Raeburn * Makefile.in (gssapi_krb5.h): Add Windows version of generation diff --git a/src/lib/gssapi/krb5/init_sec_context.c b/src/lib/gssapi/krb5/init_sec_context.c index 63a9cb956..966bc8ffd 100644 --- a/src/lib/gssapi/krb5/init_sec_context.c +++ b/src/lib/gssapi/krb5/init_sec_context.c @@ -850,7 +850,7 @@ krb5_gss_init_sec_context(minor_status, claimant_cred_handle, return GSS_S_FAILURE; } } else { - context = ((krb5_gss_ctx_id_rec *) context_handle)->k5_context; + context = ((krb5_gss_ctx_id_rec *)*context_handle)->k5_context; } /* set up return values so they can be "freed" successfully */