https://bugs.winehq.org/show_bug.cgi?id=38675
Bug ID: 38675 Summary: valgrind shows uninitialized memory in kernel32/file.c:DeviceIoControl() 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 drive && touch drive.ok ==14492== Syscall param writev(vector[...]) points to uninitialised byte(s) ==14492== at 0x4F7A0F23: __writev_nocancel (in /usr/lib/libc-2.21.so) ==14492== by 0x7BC7A9C5: send_request (server.c:228) ==14492== by 0x7BC7AB52: wine_server_call (server.c:309) ==14492== by 0x7BC7B8CD: server_select (server.c:607) ==14492== by 0x7BC85426: NtWaitForMultipleObjects (sync.c:976) ==14492== by 0x7BC85471: NtWaitForSingleObject (sync.c:985) ==14492== by 0x7BC45DFF: server_ioctl_file (file.c:1539) ==14492== by 0x7BC45FF7: NtDeviceIoControlFile (file.c:1628) ==14492== by 0x7B840C64: DeviceIoControl (file.c:2599) ==14492== by 0x7B87DAFA: get_mountmgr_drive_type (volume.c:206) ==14492== by 0x7B88133A: GetDriveTypeW (volume.c:1614) ==14492== by 0x7B8814F9: GetDriveTypeA (volume.c:1660) ==14492== by 0x47D4D2E: test_GetDriveTypeA (drive.c:41) ==14492== by 0x47D5770: func_drive (drive.c:207) ==14492== by 0x4893BD4: run_test (test.h:584) ==14492== by 0x489401C: main (test.h:666) ==14492== Address 0x4b7f5c4 is on thread 1's stack ==14492== in frame #3, created by server_select (server.c:586) ==14492== Uninitialised value was created by a stack allocation ==14492== at 0x7B840A55: DeviceIoControl (file.c:2549) ==14492==