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

ghudson@MIT.EDU ghudson at MIT.EDU
Wed May 6 14:54:47 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22321
Commit By: ghudson
Log Message:
Fix yet another memory leak in pa_sam.



Changed Files:
U   trunk/src/lib/krb5/krb/preauth2.c
Modified: trunk/src/lib/krb5/krb/preauth2.c
===================================================================
--- trunk/src/lib/krb5/krb/preauth2.c	2009-05-06 18:53:03 UTC (rev 22320)
+++ trunk/src/lib/krb5/krb/preauth2.c	2009-05-06 18:54:47 UTC (rev 22321)
@@ -1016,6 +1016,7 @@
     } else {
 	/* Eventually, combine SAD with long-term key to get
 	   encryption key.  */
+	krb5_free_sam_challenge(context, sam_challenge);
 	return KRB5_PREAUTH_BAD_TYPE;
     }
 




More information about the cvs-krb5 mailing list