https://bugs.winehq.org/show_bug.cgi?id=46346
Bug ID: 46346 Summary: ntoskrnl/tests/ntoskrnl.c shows uninitalized memory use Product: Wine Version: 4.0-rc3 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase, valgrind Severity: normal Priority: P2 Component: ntoskrnl Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: Gentoo
../../../tools/runtest -q -P wine -T ../../.. -M ntoskrnl.exe -p ntoskrnl.exe_test.exe.so ntoskrnl && touch ntoskrnl.ok ==17895== Syscall param writev(vector[...]) points to uninitialised byte(s) ==17895== at 0x43567D3: writev (writev.c:26) ==17895== by 0x7BC75457: send_request (server.c:228) ==17895== by 0x7BC76158: server_call_unlocked (server.c:288) ==17895== by 0x7BC916EC: virtual_locked_server_call (virtual.c:2083) ==17895== by 0x7BC41C1A: server_ioctl_file (file.c:1533) ==17895== by 0x7BC43368: NtDeviceIoControlFile (file.c:1640) ==17895== by 0x7B4409AA: DeviceIoControl (file.c:2662) ==17895== by 0x4A7A518: main_test (ntoskrnl.c:163) ==17895== by 0x4A7AAE7: func_ntoskrnl (ntoskrnl.c:264) ==17895== by 0x4A7AEA6: run_test (test.h:617) ==17895== by 0x4A7B8E4: main (test.h:701) ==17895== Address 0x492f4e6 is 86 bytes inside a block of size 88 alloc'd ==17895== at 0x7BC483AD: notify_alloc (heap.c:260) ==17895== by 0x7BC4B8D1: RtlAllocateHeap (heap.c:1726) ==17895== by 0x4A7A3EC: heap_alloc (heap.h:29) ==17895== by 0x4A7A484: main_test (ntoskrnl.c:158) ==17895== by 0x4A7AAE7: func_ntoskrnl (ntoskrnl.c:264) ==17895== by 0x4A7AEA6: run_test (test.h:617) ==17895== by 0x4A7B8E4: main (test.h:701) ==17895== Uninitialised value was created by a client request ==17895== at 0x7BC4831C: mark_block_uninitialized (heap.c:214) ==17895== by 0x7BC4A643: initialize_block (heap.c:245) ==17895== by 0x7BC4B8E7: RtlAllocateHeap (heap.c:1727) ==17895== by 0x4A7A3EC: heap_alloc (heap.h:29) ==17895== by 0x4A7A484: main_test (ntoskrnl.c:158) ==17895== by 0x4A7AAE7: func_ntoskrnl (ntoskrnl.c:264) ==17895== by 0x4A7AEA6: run_test (test.h:617) ==17895== by 0x4A7B8E4: main (test.h:701) ==17895==