[krbdev.mit.edu #9064] git commit
Greg Hudson via RT
rt at krbdev.mit.edu
Tue Nov 15 11:31: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/782e3cf8e909ff7ad62c3b49e18aaad3e9c65279
Author: Greg Hudson <ghudson at mit.edu>
Commit: 782e3cf8e909ff7ad62c3b49e18aaad3e9c65279
Branch: krb5-1.20
src/kdc/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the krb5-bugs
mailing list