svn rev #23638: branches/krb5-1-7/src/lib/krb5/asn.1/
tlyu@MIT.EDU
tlyu at MIT.EDU
Mon Jan 11 22:03:42 EST 2010
http://src.mit.edu/fisheye/changelog/krb5/?cs=23638
Commit By: tlyu
Log Message:
ticket: 6571
version_fixed: 1.7.1
status: resolved
pull up r22872 from trunk
------------------------------------------------------------------------
r22872 | ghudson | 2009-10-09 10:21:04 -0400 (Fri, 09 Oct 2009) | 7 lines
ticket: 6571
tags: pullup
target_version: 1.7.1
In asn1_decode_enc_kdc_rep_part, don't leak the enc_padata field on
invalid representations.
Changed Files:
U branches/krb5-1-7/src/lib/krb5/asn.1/asn1_k_decode.c
Modified: branches/krb5-1-7/src/lib/krb5/asn.1/asn1_k_decode.c
===================================================================
--- branches/krb5-1-7/src/lib/krb5/asn.1/asn1_k_decode.c 2010-01-12 03:03:37 UTC (rev 23637)
+++ branches/krb5-1-7/src/lib/krb5/asn.1/asn1_k_decode.c 2010-01-12 03:03:42 UTC (rev 23638)
@@ -668,6 +668,7 @@
krb5_free_last_req(NULL, val->last_req);
krb5_free_principal(NULL, val->server);
krb5_free_addresses(NULL, val->caddrs);
+ krb5_free_pa_data(NULL, val->enc_padata);
val->session = NULL;
val->last_req = NULL;
val->server = NULL;
More information about the cvs-krb5
mailing list