Comment 6 for bug 386558

Revision history for this message
Andrew Pollock (apollock) wrote :

I should also mention this from select(2):

"An fd_set is a fixed size buffer. Executing FD_CLR() or FD_SET() with a value of fd that is negative or is equal to or larger than FD_SETSIZE will result in undefined behavior. Moreover, POSIX requires fd to be a valid file descriptor."