projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be4d47e
)
In asn1_decode_enc_kdc_rep_part, don't leak the enc_padata field on
author
Greg Hudson
<ghudson@mit.edu>
Fri, 9 Oct 2009 14:21:04 +0000
(14:21 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Fri, 9 Oct 2009 14:21:04 +0000
(14:21 +0000)
invalid representations.
ticket: 6571
tags: pullup
target_version: 1.7.1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22872
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/asn.1/asn1_k_decode.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/asn.1/asn1_k_decode.c
b/src/lib/krb5/asn.1/asn1_k_decode.c
index b1b09371bc51424a99766a3af094774b06157b2c..fe168088e67313037d9b4c83828cbe1647915201 100644
(file)
--- a/
src/lib/krb5/asn.1/asn1_k_decode.c
+++ b/
src/lib/krb5/asn.1/asn1_k_decode.c
@@
-668,6
+668,7
@@
error_out:
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;