[krbdev.mit.edu #9064] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Tue Nov 15 11:30:55 EST 2022


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9064 >


Free verto context later in KDC cleanup

The KDC supplies the verto context to kdcpreauth modules via the loop
method (added in commit 83b4ecd20e50ad330cd761977d5dadefe30a785b).
This context should remain valid until kdcpreauth modules are
unloaded, as modules might refer to it during cleanup.  In particular,
the OTP module references the verto context when freeing the RADIUS
client object (commit e89abc2d4ea1fea1ec28d470f297514b828e4842), which
can cause a memory error during KDC shutdown without this change.

(cherry picked from commit 8dcace04945723cd6a3c8ea2c1ba467c22eb6584)

https://github.com/krb5/krb5/commit/d97a080e9c4ca380ca640f28f3b3aff06cd03ea5
Author: Greg Hudson <ghudson at mit.edu>
Commit: d97a080e9c4ca380ca640f28f3b3aff06cd03ea5
Branch: krb5-1.19
 src/kdc/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the krb5-bugs mailing list