[16850] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #9064] git commit

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Tue Nov 15 11:31:20 2022

From: "Greg Hudson via RT" <rt@krbdev.mit.edu>
In-Reply-To: 
Message-ID: <rt-4.4.3-2-488038-1668529855-896.9064-5-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9064":;
Date: Tue, 15 Nov 2022 11:30:55 -0500
MIME-Version: 1.0
Reply-To: rt@krbdev.mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu


<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@mit.edu>
Commit: d97a080e9c4ca380ca640f28f3b3aff06cd03ea5
Branch: krb5-1.19
 src/kdc/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

home help back first fref pref prev next nref lref last post