unbalanced WSAStartup/WSACleanup calls
Greg Hudson
ghudson at mit.edu
Tue May 5 20:45:29 EDT 2026
On 5/5/26 13:18, Zvika Meiseles wrote:
> I suspect the krb5 code may execute unbalanced WSAStartup/WSACleanup calls,
> causing premature WinSock cleanup and application crash (following a crash
> I'm investigating where krb5 context cleanup causes WinSock destruction).
I think your analysis is correct. A failure opening or parsing the
config file (via os_init_paths()) will result in a call to WSACleanup()
with no corresponding call to WSAStartup().
More information about the krbdev
mailing list