[krbdev.mit.edu #8645] git commit

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

[krbdev.mit.edu #8645] git commit

Jeffrey Arbuckle via RT

Fix KDC encrypting key memory leak on some errors

Commit 0ba5ccd7bb3ea15e44a87f84ca6feed8890f657d separated the
allocation and destruction of encrypting_key, causing it to leak when
any of the intervening calls jump to the cleanup label.  Currently the
leak manifests on transited or authdata failures.  Move encrypting_key
destruction to the cleanup label so that it can't leak.  Reported by
[hidden email].

(cherry picked from commit 1bcf2742d504a22b7354251bbc1e19c3dacd95f3)

Author: Greg Hudson <[hidden email]>
Commit: b294627169fba270dbd78cff5e1408a21051b266
Branch: krb5-1.15
 src/kdc/do_tgs_req.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

krb5-bugs mailing list
[hidden email]