Description[NaCl SDK] nacl_io: Fix select() implementation so it doesn't assume entire fd_sets.
Turns out the application code (specifically openssh does
this) is allows to pass incomplete fd_set structs as long
as they can store at least nfds worth of information.
This means that we can't call FD_ZERO on the pointers
given to use since FD_ZERO assumes a full fd_set.
This fixed a long standing memory corruption issue with
openssh.
R=binji@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262849
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : #
Messages
Total messages: 7 (0 generated)
|