From 28676974f19099c3fb977baf5db2f34c24cca1cc Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Tue, 8 Feb 2011 22:31:10 +0000 Subject: [PATCH] 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 --- src/lib/krb5/krb/get_creds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.26.2