svn rev #22337: branches/krb5-1-7/src/lib/krb5/krb/

tlyu@MIT.EDU tlyu at MIT.EDU
Mon May 11 16:56:17 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22337
Commit By: tlyu
Log Message:
ticket: 6210
version_fixed: 1.7

pull up r22319 from trunk
 ------------------------------------------------------------------------
 r22319 | ghudson | 2009-05-06 14:52:44 -0400 (Wed, 06 May 2009) | 5 lines
 Changed paths:
    M /trunk/src/lib/krb5/krb/preauth2.c

 ticket: 6210

 In pa_sam, use the correct function to free sam_challenge in the
 success path.


Changed Files:
U   branches/krb5-1-7/src/lib/krb5/krb/preauth2.c
Modified: branches/krb5-1-7/src/lib/krb5/krb/preauth2.c
===================================================================
--- branches/krb5-1-7/src/lib/krb5/krb/preauth2.c	2009-05-11 20:55:59 UTC (rev 22336)
+++ branches/krb5-1-7/src/lib/krb5/krb/preauth2.c	2009-05-11 20:56:16 UTC (rev 22337)
@@ -1019,7 +1019,7 @@
     sam_response.sam_type = sam_challenge->sam_type;
     sam_response.magic = KV5M_SAM_RESPONSE;
 
-    free(sam_challenge);
+    krb5_free_sam_challenge(context, sam_challenge);
 
     /* encode the encoded part of the response */
     if ((ret = encode_krb5_enc_sam_response_enc(&enc_sam_response_enc,




More information about the cvs-krb5 mailing list