[krbdev.mit.edu #9210] git commit
Greg Hudson via RT
rt at krbdev.mit.edu
Mon Aug 31 22:47:27 EDT 2026
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9210 >
Avoid asymmetric WSACleanup() in libkrb5
In k5_os_init_context(), call WSAStartup() before doing anything else.
Otherwise, a failure to read or parse krb5.conf could cause an
asymmetric call to WSACleanup() in k5_os_free_context(). Reported by
Zvika Meiseles.
(cherry picked from commit acf38f87c07f873c13ec2f51442519e16f1c3512)
https://github.com/krb5/krb5/commit/393da2b2fda6a3a9f7a6dfc125bcd241e2e0389d
Author: Greg Hudson <ghudson at mit.edu>
Commit: 393da2b2fda6a3a9f7a6dfc125bcd241e2e0389d
Branch: krb5-1.22
src/lib/krb5/os/init_os_ctx.c | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
More information about the krb5-bugs
mailing list