[Bug 43342] New: valgrind shows an unintialized write in dlls/hid/tests/ device.c

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 13 12:57:38 CDT 2017


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 at winehq.org
          Reporter: austinenglish at 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==

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list