[15997] in Kerberos-V5-bugs
[krbdev.mit.edu #8645] git commit
daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Wed May 2 01:31:39 2018
Mail-followup-to: rt@krbdev.mit.edu
mail-copies-to: never
From: "Greg Hudson via RT" <rt-comment@KRBDEV-PROD-APP-1.mit.edu>
In-Reply-To: <rt-8645@krbdev.mit.edu>
Message-ID: <rt-8645-48506.11.4231482109269@krbdev.mit.edu>
To: "'AdminCc of krbdev.mit.edu Ticket #8645'":;
Date: Wed, 2 May 2018 01:26:02 -0400 (EDT)
Reply-To: rt-comment@KRBDEV-PROD-APP-1.mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu
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
anedvedicky@gmail.com.
(cherry picked from commit 1bcf2742d504a22b7354251bbc1e19c3dacd95f3)
https://github.com/krb5/krb5/commit/b294627169fba270dbd78cff5e1408a21051b266
Author: Greg Hudson <ghudson@mit.edu>
Commit: b294627169fba270dbd78cff5e1408a21051b266
Branch: krb5-1.15
src/kdc/do_tgs_req.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs