From: Tom Yu Date: Wed, 9 Feb 2011 21:55:36 +0000 (+0000) Subject: pull up r24618 from trunk X-Git-Tag: krb5-1.9.1-beta1~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d18073af68f9417c274499b0242aaaf077ec1b0a;p=krb5.git pull up r24618 from trunk ------------------------------------------------------------------------ r24618 | ghudson | 2011-02-08 17:31:10 -0500 (Tue, 08 Feb 2011) | 8 lines ticket: 6856 subject: Fix seg faulting trace log message for use of fallback realm target_version: 1.9.1 tags: pullup The call to TRACE_TKT_CREDS_FALLBACK in get_creds.c was supplying the wrong argument, causing a crash. ticket: 6856 version_fixed: 1.9.1 status: resolved git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-9@24629 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;