Re: unbalanced WSAStartup/WSACleanup calls

"Greg Hudson" <[email protected]> Tue, 5 May 2026 20:45:29 -0400
Newsgroups gmane.comp.encryption.kerberos.devel
Message-ID <[email protected]>
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().

_______________________________________________
krbdev mailing list             [email protected]
https://mailman.mit.edu/mailman/listinfo/krbdev