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).
-
Show this thread
-
Replying to @RichFelker
Where does this occur? fd_sets in OpenSSH should be allocated as multiples of (NFDBITS*sizeof(fd_mask)) for this very reason.
2 replies 0 retweets 0 likes
Replying to @damienmiller
It's right in channel.c but wrong in packet.c.
4:01 PM - 27 May 2018
0 replies
0 retweets
1 like
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.