[krbdev.mit.edu #9064] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Jun 8 20:45:27 EDT 2022


Wed Jun 08 20:45:27 2022: Request 9064 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <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.

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



More information about the krb5-bugs mailing list