ws2_32: Fix uninitialized memory access in do_poll (Coverity).

This commit is contained in:
Sebastian Lackner 2015-06-07 19:19:39 +02:00 committed by Alexandre Julliard
parent 3d51b4eb9d
commit f542a0c18b
1 changed files with 1 additions and 0 deletions

View File

@ -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 );