ws2_32: Fix uninitialized memory access in do_poll (Coverity).
This commit is contained in:
parent
3d51b4eb9d
commit
f542a0c18b
|
@ -4800,6 +4800,7 @@ static int do_poll(struct pollfd *pollfds, int count, int timeout)
|
|||
{
|
||||
if (errno != EINTR) break;
|
||||
if (timeout < 0) continue;
|
||||
if (timeout == 0) return 0;
|
||||
|
||||
gettimeofday( &tv2, 0 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue