ws2_32/tests: Initialize address length argument before calling recvfrom()/WSARecvFrom() (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4c160b6f8c
commit
4f8c3d4750
|
@ -6862,7 +6862,7 @@ static DWORD CALLBACK write_watch_thread( void *arg )
|
|||
{
|
||||
struct write_watch_thread_args *args = arg;
|
||||
struct sockaddr addr;
|
||||
int addr_len, ret;
|
||||
int addr_len = sizeof(addr), ret;
|
||||
DWORD bytes, flags = 0;
|
||||
WSABUF buf[1];
|
||||
|
||||
|
|
Loading…
Reference in New Issue