https://bugs.winehq.org/show_bug.cgi?id=43342
Bug ID: 43342 Summary: valgrind shows an unintialized write in dlls/hid/tests/device.c Product: Wine Version: 2.12 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase, valgrind Severity: normal Priority: P2 Component: hid Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: Gentoo
../../../tools/runtest -q -P wine -T ../../.. -M hid.dll -p hid_test.exe.so device && touch device.ok ==10687== Syscall param writev(vector[...]) points to uninitialised byte(s) ==10687== at 0x4339023: __writev_nocancel (syscall-template.S:84) ==10687== by 0x7BC88028: send_request (server.c:228) ==10687== by 0x7BC881DB: wine_server_call (server.c:309) ==10687== by 0x7BC4A5AA: server_ioctl_file (file.c:1543) ==10687== by 0x7BC4A914: NtDeviceIoControlFile (file.c:1650) ==10687== by 0x7B44634D: DeviceIoControl (file.c:2651) ==10687== by 0x4B229B1: HidD_GetPreparsedData (hidd.c:133) ==10687== by 0x4876EBA: test_device_info (device.c:41) ==10687== by 0x48771C2: run_for_each_device (device.c:83) ==10687== by 0x4878870: func_device (device.c:386) ==10687== by 0x48796C8: run_test (test.h:603) ==10687== by 0x4879B19: main (test.h:687) ==10687== Address 0x48e7b38 is 0 bytes inside a recently re-allocated block of size 9,296 alloc'd ==10687== at 0x7BC50812: notify_alloc (heap.c:254) ==10687== by 0x7BC54C93: RtlAllocateHeap (heap.c:1716) ==10687== by 0x4B22982: HidD_GetPreparsedData (hidd.c:131) ==10687== by 0x4876EBA: test_device_info (device.c:41) ==10687== by 0x48771C2: run_for_each_device (device.c:83) ==10687== by 0x4878870: func_device (device.c:386) ==10687== by 0x48796C8: run_test (test.h:603) ==10687== by 0x4879B19: main (test.h:687) ==10687== Uninitialised value was created by a client request ==10687== at 0x7BC505E1: mark_block_uninitialized (heap.c:208) ==10687== by 0x7BC5076D: initialize_block (heap.c:239) ==10687== by 0x7BC54CB3: RtlAllocateHeap (heap.c:1717) ==10687== by 0x4B22982: HidD_GetPreparsedData (hidd.c:131) ==10687== by 0x4876EBA: test_device_info (device.c:41) ==10687== by 0x48771C2: run_for_each_device (device.c:83) ==10687== by 0x4878870: func_device (device.c:386) ==10687== by 0x48796C8: run_test (test.h:603) ==10687== by 0x4879B19: main (test.h:687) ==10687==
https://bugs.winehq.org/show_bug.cgi?id=43342
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fgouget@codeweavers.com Summary|valgrind shows an |valgrind shows an |unintialized write in |uninitialized write in |dlls/hid/tests/device.c |dlls/hid/tests/device.c