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

ghudson@MIT.EDU ghudson at MIT.EDU
Fri Jan 23 12:54:08 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=21785
Commit By: ghudson
Log Message:
In krb5_get_init_creds, null out err_reply in a case where we free it
and do not necessarily exit the loop.



Changed Files:
U   trunk/src/lib/krb5/krb/get_in_tkt.c
Modified: trunk/src/lib/krb5/krb/get_in_tkt.c
===================================================================
--- trunk/src/lib/krb5/krb/get_in_tkt.c	2009-01-23 17:45:58 UTC (rev 21784)
+++ trunk/src/lib/krb5/krb/get_in_tkt.c	2009-01-23 17:53:52 UTC (rev 21785)
@@ -1341,6 +1341,7 @@
 						 &err_reply->client->realm,
 						 &referred_client.realm);
 		krb5_free_error(context, err_reply);
+		err_reply = NULL;
 		if (ret)
 		    goto cleanup;
 		request.client = &referred_client;




More information about the cvs-krb5 mailing list