https://bugs.winehq.org/show_bug.cgi?id=36606
Bug ID: 36606 Summary: valgrind shows uninitialized memory use in ws2_32/tests/protocol.c Product: Wine Version: 1.7.19 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==21539== Invalid write of size 4 ==21539== at 0x402F31D: memset (vg_replace_strmem.c:1087) ==21539== by 0x4E1CFD5: WS_EnterSingleProtocolA (socket.c:1778) ==21539== by 0x4E1D22C: WS_EnumProtocols (socket.c:1832) ==21539== by 0x4E2CC95: WSAEnumProtocolsA (socket.c:7483) ==21539== by 0x4CA2650: test_WSAEnumProtocolsA (protocol.c:110) ==21539== by 0x4CA2D46: func_protocol (protocol.c:202) ==21539== by 0x4CCAD54: run_test (test.h:584) ==21539== by 0x4CCB143: main (test.h:654) ==21539== Address 0x499bf18 is 0 bytes after a block of size 744 alloc'd ==21539== at 0x7BC4C6DF: notify_alloc (heap.c:255) ==21539== by 0x7BC50F23: RtlAllocateHeap (heap.c:1716) ==21539== by 0x4CA2624: test_WSAEnumProtocolsA (protocol.c:106) ==21539== by 0x4CA2D46: func_protocol (protocol.c:202) ==21539== by 0x4CCAD54: run_test (test.h:584) ==21539== by 0x4CCB143: main (test.h:654) ==21539==