antirez/hiredis — pull request #88 by ellzey (2012-02-21 22:00:52+00:00)
Title: Fix issue with redisContextWaitReady() with reading fd numbers > FD_SETS...

redisContextWaitReady() incorrectly uses the first argument in select(). In this
case, if a file descriptor is > 1024 (not the number of fd's in fd_set), the
operation is called on an empty set which will never return.

Instead we should call select(fd+1, ....);