[krbdev.mit.edu #9210] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed May 27 18:53:06 EDT 2026


Wed May 27 18:53:05 2026: Request 9210 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=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.

https://github.com/krb5/krb5/commit/acf38f87c07f873c13ec2f51442519e16f1c3512
Author: Greg Hudson <ghudson at mit.edu>
Commit: acf38f87c07f873c13ec2f51442519e16f1c3512
Branch: master
 src/lib/krb5/os/init_os_ctx.c | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)



More information about the krb5-bugs mailing list