Guard against unusable fd in pthreads' empth_select()
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 29 Oct 2011 15:16:08 +0000 (17:16 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 29 Dec 2011 10:47:05 +0000 (11:47 +0100)
commit9be42299b58a443e3612dbea262448fff029853d
treec88823bcbd1492601c96b8d53931eb5c9f4e9946
parent55e689fb319d6c8d00fb508ea31533d0af3f93d6
Guard against unusable fd in pthreads' empth_select()

0 <= fd < FD_SETSIZE must hold, or else undefined behavior in
FD_SET().
src/lib/empthread/pthread.c