svn rev #24629: branches/krb5-1-9/src/lib/krb5/krb/

tlyu@MIT.EDU tlyu at MIT.EDU
Wed Feb 9 16:55:37 EST 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=24629
Commit By: tlyu
Log Message:
ticket: 6856
version_fixed: 1.9.1
status: resolved

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.


Changed Files:
U   branches/krb5-1-9/src/lib/krb5/krb/get_creds.c
Modified: branches/krb5-1-9/src/lib/krb5/krb/get_creds.c
===================================================================
--- branches/krb5-1-9/src/lib/krb5/krb/get_creds.c	2011-02-09 21:38:08 UTC (rev 24628)
+++ branches/krb5-1-9/src/lib/krb5/krb/get_creds.c	2011-02-09 21:55:36 UTC (rev 24629)
@@ -510,7 +510,7 @@
     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;




More information about the cvs-krb5 mailing list