[krbdev.mit.edu #8584] git commit

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[krbdev.mit.edu #8584] git commit

Greg Hudson via RT

Free GSS checksum data deterministically

In the normal course of execution, md5.contents allocated by
kg_checksum_channel_bindings() in make_ap_req_v1() is freed in
make_gss_checksum().  But when there is a failure in
krb5_mk_req_extended() or in make_gss_checksum() before free is
called, the memory leaks.

This patch frees the memory unconditionally in make_ap_req_v1().

Author: Tomas Kuthan <[hidden email]>
Committer: Greg Hudson <[hidden email]>
Commit: 29337e7c7b796685fb6a03466d32147e17aa2d16
Branch: master
 src/lib/gssapi/krb5/init_sec_context.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

krb5-bugs mailing list
[hidden email]