Commit 4f8c3d47 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

ws2_32/tests: Initialize address length argument before calling…

ws2_32/tests: Initialize address length argument before calling recvfrom()/WSARecvFrom() (Coverity). Signed-off-by: 's avatarNikolay Sivov <nsivov@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 4c160b6f
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment