[krbdev.mit.edu #9064] git commit
"Greg Hudson via RT" <[email protected]> Wed, 08 Jun 2022 20:45:27 -0400
| Newsgroups | gmane.comp.encryption.kerberos.bugs |
|---|---|
| Message-ID | <[email protected]> |
Wed Jun 08 20:45:27 2022: Request 9064 was acted upon. Transaction: Ticket created by [email protected] Queue: krb5 Subject: git commit Owner: [email protected] 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 <[email protected]> Commit: 8dcace04945723cd6a3c8ea2c1ba467c22eb6584 Branch: master src/kdc/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)