svn rev #25323: trunk/src/lib/gssapi/krb5/
ghudson@MIT.EDU
ghudson at MIT.EDU
Fri Oct 7 18:17:06 EDT 2011
http://src.mit.edu/fisheye/changelog/krb5/?cs=25323
Commit By: ghudson
Log Message:
ticket: 6972
target_version: 1.9.2
tags: pullup
Fix a memory leak in make_gss_checksum.
>From greg.mcclement at sap.com.
Changed Files:
U trunk/src/lib/gssapi/krb5/init_sec_context.c
Modified: trunk/src/lib/gssapi/krb5/init_sec_context.c
===================================================================
--- trunk/src/lib/gssapi/krb5/init_sec_context.c 2011-10-07 21:19:41 UTC (rev 25322)
+++ trunk/src/lib/gssapi/krb5/init_sec_context.c 2011-10-07 22:17:06 UTC (rev 25323)
@@ -316,6 +316,7 @@
/* Turn KRB5_AUTH_CONTEXT_DO_TIME back on and reset the send subkey. */
krb5_auth_con_setflags(context, auth_context, con_flags);
krb5_auth_con_setsendsubkey_k(context, auth_context, send_subkey);
+ krb5_k_free_key(context, send_subkey);
if (code) {
/* don't fail here; just don't accept/do the delegation
More information about the cvs-krb5
mailing list