https://bugs.winehq.org/show_bug.cgi?id=46349
Bug ID: 46349 Summary: wininet/tests/http.c shows uninitialized memory use Product: Wine Version: 4.0-rc3 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase, valgrind Severity: normal Priority: P2 Component: wininet Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: Gentoo
==23151== Thread 5: ==23151== Syscall param sendmsg(msg.msg_iov[0]) points to uninitialised byte(s) ==23151== at 0x425091F: sendmsg (sendmsg.c:30) ==23151== by 0x60591C4: WS2_send (socket.c:2628) ==23151== by 0x60594BB: WS2_sendto (socket.c:5606) ==23151== by 0x605FBC5: WS_send (socket.c:5521) ==23151== by 0x4A93CF4: server_thread (http.c:2443) ==23151== by 0x7BC77F0F: ??? (in /home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so) ==23151== by 0x7BC7B2D5: call_thread_func (signal_i386.c:2654) ==23151== by 0x7BC77F01: ??? (in /home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so) ==23151== Address 0x4a2d031 is 4,193 bytes inside a recently re-allocated block of size 8,000 alloc'd ==23151== at 0x7BC483AD: notify_alloc (heap.c:260) ==23151== by 0x7BC4BD6D: RtlReAllocateHeap (heap.c:1893) ==23151== by 0x4A931F3: server_thread (http.c:2156) ==23151== by 0x7BC77F0F: ??? (in /home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so) ==23151== by 0x7BC7B2D5: call_thread_func (signal_i386.c:2654) ==23151== by 0x7BC77F01: ??? (in /home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so) ==23151== Uninitialised value was created by a client request ==23151== at 0x7BC4831C: mark_block_uninitialized (heap.c:214) ==23151== by 0x7BC4A643: initialize_block (heap.c:245) ==23151== by 0x7BC4BDEE: RtlReAllocateHeap (heap.c:1915) ==23151== by 0x4A931F3: server_thread (http.c:2156) ==23151== by 0x7BC77F0F: ??? (in /home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so) ==23151== by 0x7BC7B2D5: call_thread_func (signal_i386.c:2654) ==23151== by 0x7BC77F01: ??? (in /home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so) ==23151==