svn rev #24618: trunk/src/lib/krb5/krb/

ghudson@MIT.EDU ghudson at MIT.EDU
Tue Feb 8 17:31:10 EST 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=24618
Commit By: ghudson
Log Message:
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   trunk/src/lib/krb5/krb/get_creds.c
Modified: trunk/src/lib/krb5/krb/get_creds.c
===================================================================
--- trunk/src/lib/krb5/krb/get_creds.c	2011-02-08 21:25:21 UTC (rev 24617)
+++ trunk/src/lib/krb5/krb/get_creds.c	2011-02-08 22:31:10 UTC (rev 24618)
@@ -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