[krbdev.mit.edu #8759] git commit

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

[krbdev.mit.edu #8759] git commit

Greg Hudson via RT-2

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.

(cherry picked from commit c4bdb3a1c890149a472ed98a94cf85316b143265)

https://github.com/krb5/krb5/commit/60766c9854e8a03afdd22258b38832a13fb584ff
Author: Greg Hudson <[hidden email]>
Commit: 60766c9854e8a03afdd22258b38832a13fb584ff
Branch: krb5-1.16
 src/lib/kadm5/srv/svr_principal.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

_______________________________________________
krb5-bugs mailing list
[hidden email]
https://mailman.mit.edu/mailman/listinfo/krb5-bugs