https://bugs.winehq.org/show_bug.cgi?id=38674
Bug ID: 38674 Summary: valgrind shows uninitialized memory in kernel32/tests/console.c:test_WriteConsoleInputA() Product: Wine Version: 1.7.44 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase, valgrind Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: Fedora
../../../tools/runtest -q -P wine -T ../../.. -M kernel32.dll -p kernel32_test.exe.so console && touch console.ok ==14463== Syscall param writev(vector[...]) points to uninitialised byte(s) ==14463== at 0x4F7A0F4B: ??? (in /usr/lib/libc-2.21.so) ==14463== by 0x7BC7A9C5: send_request (server.c:228) ==14463== by 0x7BC7AB52: wine_server_call (server.c:309) ==14463== by 0x7B82DC08: wine_server_call_err (server.h:61) ==14463== by 0x7B82ED10: WriteConsoleInputW (console.c:533) ==14463== by 0x7B82EBCB: WriteConsoleInputA (console.c:506) ==14463== by 0x47C817E: test_WriteConsoleInputA (console.c:1438) ==14463== by 0x47CF063: func_console (console.c:2712) ==14463== by 0x4893BD4: run_test (test.h:584) ==14463== by 0x489401C: main (test.h:666) ==14463== Address 0x4666042 is 2 bytes inside a recently re-allocated block of size 20 alloc'd ==14463== at 0x7BC4A9F1: notify_alloc (heap.c:254) ==14463== by 0x7BC4EC94: RtlAllocateHeap (heap.c:1715) ==14463== by 0x7B84351C: HeapAlloc (heap.c:271) ==14463== by 0x7B82EB67: WriteConsoleInputA (console.c:496) ==14463== by 0x47C817E: test_WriteConsoleInputA (console.c:1438) ==14463== by 0x47CF063: func_console (console.c:2712) ==14463== by 0x4893BD4: run_test (test.h:584) ==14463== by 0x489401C: main (test.h:666) ==14463== Uninitialised value was created by a stack allocation ==14463== at 0x47C7B45: test_WriteConsoleInputA (console.c:1364) ==14463==