Interesting new class of bugs I need to write about and report: select requires pointers to objects of type fd_set, but some programs including OpenSSH pass it a pointer to malloc'd memory sized only for nfds, not sizeof(fd_set).
-
-
Note that there's no specification of the layout/order of bits in the fd_set so the low bits could be at the end of it.
-
I know this part. We were making syscalls directly and had slightly different codepaths for all the platforms we supported.
-
The syscall APIs are not the same as the Posix APIs.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.