http://bugs.winehq.org/show_bug.cgi?id=28756
Bug #: 28756 Summary: ws2_32/tests/sock.ok: uninitialised value created in test_events(), used in get_cached_fd()? Product: Wine Version: 1.3.30 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: winsock AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
Running "make sock.ok" in ws2_32/tests, valgrind complains:
Conditional jump or move depends on uninitialised value(s) at get_cached_fd (server.c:506, 508, 510, 511) by server_get_unix_fd (server.c:551) by wine_server_handle_to_fd (server.c:636) by WS2_recv_base (socket.c:751) by WSARecv (socket.c:5662) by recv_thread (sock.c:4045) Uninitialised value was created by a stack allocation at test_events (sock.c:3453)
...
Syscall param write(buf) points to uninitialised byte(s) at ??? (syscall-template.S:82) by wine_server_call (server.c:288) by server_get_unix_fd (server.c:557) by wine_server_handle_to_fd (server.c:636) by WS2_recv_base (socket.c:751) by WSARecv (socket.c:5662) by recv_thread (sock.c:4045) Address 0x7f42e7c8 is on thread 1's stack Uninitialised value was created by a stack allocation at test_events (sock.c:3453)