[krbdev.mit.edu #6933] SVN Commit
Greg Hudson via RT
rt-comment at krbdev.mit.edu
Mon Jul 25 12:00:10 EDT 2011
In rare circumstances, such as checksum errors, some network stacks
can flag an fd for reading in select() and still block when the fd is
read. Set all sockets non-blocking to prevent hangs when this occurs.
(We don't actually handle the resulting EWOULDBLOCK or EAGAIN errors,
so the rare cases will appear as communication failures and we will
close the socket. This is already the case for TCP sockets and
probably isn't a big deal.)
http://src.mit.edu/fisheye/changelog/krb5/?cs=25048
Commit By: ghudson
Revision: 25048
Changed Files:
U trunk/src/lib/krb5/os/sendto_kdc.c
More information about the krb5-bugs
mailing list