[krbdev.mit.edu #5925] Windows socket(...) returns SOCKET, not file handle

Kevin Koch via RT rt-comment at krbdev.mit.edu
Fri Mar 21 17:18:59 EDT 2008


sendto_kdc.c start_connection(...) calls socket(...).  

The returned SOCKET is treated as a file handle.

On Windows, the SOCKET is greater than FD_SETSIZE, so close is called.  
The SOCKET is also greater than the number of file handles, so close 
asserts.




More information about the krb5-bugs mailing list