From: Greg Hudson Date: Tue, 8 Feb 2011 22:31:10 +0000 (+0000) Subject: Fix seg faulting trace log message for use of fallback realm X-Git-Tag: krb5-1.10-alpha1~600 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=28676974f19099c3fb977baf5db2f34c24cca1cc;p=krb5.git Fix seg faulting trace log message for use of fallback realm The call to TRACE_TKT_CREDS_FALLBACK in get_creds.c was supplying the wrong argument, causing a crash. ticket: 6856 target_version: 1.9.1 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24618 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/get_creds.c b/src/lib/krb5/krb/get_creds.c index 8fb22c6ed..cf216b707 100644 --- a/src/lib/krb5/krb/get_creds.c +++ b/src/lib/krb5/krb/get_creds.c @@ -510,7 +510,7 @@ try_fallback_realm(krb5_context context, krb5_tkt_creds_context ctx) krb5_free_data_contents(context, &ctx->server->realm); ctx->server->realm = string2data(hrealms[0]); free(hrealms); - TRACE_TKT_CREDS_FALLBACK(context, ctx->server->realm); + TRACE_TKT_CREDS_FALLBACK(context, &ctx->server->realm); /* Obtain a TGT for the new service realm. */ ctx->getting_tgt_for = STATE_NON_REFERRAL;