https://bugs.winehq.org/show_bug.cgi?id=46340
Bug ID: 46340 Summary: comctl32//tests/edit.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: comctl32 Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com CC: bunglehead@gmail.com Distribution: Gentoo
../../../tools/runtest -q -P wine -T ../../.. -M comctl32.dll -p comctl32_test.exe.so edit && touch edit.ok ==28392== Syscall param writev(vector[...]) points to uninitialised byte(s) ==28392== at 0x43567D3: writev (writev.c:26) ==28392== by 0x7BC75457: send_request (server.c:228) ==28392== by 0x7BC76158: server_call_unlocked (server.c:288) ==28392== by 0x7BC761AD: wine_server_call (server.c:321) ==28392== by 0x4F60D1B: SetClipboardData (clipboard.c:904) ==28392== by 0x4A9C057: test_paste (edit.c:2919) ==28392== by 0x4A9DCBF: func_edit (edit.c:3214) ==28392== by 0x4B2BBBD: run_test (test.h:617) ==28392== by 0x4B2C5FB: main (test.h:701) ==28392== Address 0x4940bce is 30 bytes inside a recently re-allocated block of size 263 alloc'd ==28392== at 0x7BC483AD: notify_alloc (heap.c:260) ==28392== by 0x7BC4B8D1: RtlAllocateHeap (heap.c:1726) ==28392== by 0x7B4433A0: HeapAlloc (heap.c:271) ==28392== by 0x7B443603: GlobalAlloc (heap.c:389) ==28392== by 0x4A9BF57: test_paste (edit.c:2908) ==28392== by 0x4A9DCBF: func_edit (edit.c:3214) ==28392== by 0x4B2BBBD: run_test (test.h:617) ==28392== by 0x4B2C5FB: main (test.h:701) ==28392== Uninitialised value was created by a client request ==28392== at 0x7BC4831C: mark_block_uninitialized (heap.c:214) ==28392== by 0x7BC4A643: initialize_block (heap.c:245) ==28392== by 0x7BC4B8E7: RtlAllocateHeap (heap.c:1727) ==28392== by 0x7B4433A0: HeapAlloc (heap.c:271) ==28392== by 0x7B443603: GlobalAlloc (heap.c:389) ==28392== by 0x4A9BF57: test_paste (edit.c:2908) ==28392== by 0x4A9DCBF: func_edit (edit.c:3214) ==28392== by 0x4B2BBBD: run_test (test.h:617) ==28392== by 0x4B2C5FB: main (test.h:701) ==28392==