svn rev #23384: trunk/src/kdc/

hartmans@MIT.EDU hartmans at MIT.EDU
Mon Nov 30 09:14:47 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=23384
Commit By: hartmans
Log Message:
ticket: 6585

Fix memory leak


Changed Files:
U   trunk/src/kdc/fast_util.c
Modified: trunk/src/kdc/fast_util.c
===================================================================
--- trunk/src/kdc/fast_util.c	2009-11-30 14:05:16 UTC (rev 23383)
+++ trunk/src/kdc/fast_util.c	2009-11-30 14:14:47 UTC (rev 23384)
@@ -151,7 +151,8 @@
                 if (tgs_subkey) {
                     krb5_set_error_message( kdc_context, KRB5KDC_ERR_PREAUTH_FAILED,
                                             "Ap-request armor not permitted with TGS");
-                    return KRB5KDC_ERR_PREAUTH_FAILED;
+                    retval =  KRB5KDC_ERR_PREAUTH_FAILED;
+                    break;
                 }
                 retval = armor_ap_request(state, fast_armored_req->armor);
                 break;




More information about the cvs-krb5 mailing list