[16160] in Kerberos-V5-bugs
[krbdev.mit.edu #8759] git commit
daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Fri Oct 26 10:44:04 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-8759@krbdev.mit.edu>
Message-ID: <rt-8759-48948.1.09235111234987@krbdev.mit.edu>
To: "'AdminCc of krbdev.mit.edu Ticket #8759'":;
Date: Fri, 26 Oct 2018 10:42:08 -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 leak on error in kadm5 randkey handling
An attempt to change the kadmin/history key with the -keepold flag
would leak the KDB entry and keysalt tuple as it returned an error.
Use the cleanup handler instead of returning directly. Reported by
Bean Zhang.
https://github.com/krb5/krb5/commit/c4bdb3a1c890149a472ed98a94cf85316b143265
Author: Greg Hudson <ghudson@mit.edu>
Commit: c4bdb3a1c890149a472ed98a94cf85316b143265
Branch: master
src/lib/kadm5/srv/svr_principal.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs