[Bug 38443] New: valgrind shows some invalid writes in dpnet/tests/address.c

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 20 00:37:15 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38443

            Bug ID: 38443
           Summary: valgrind shows some invalid writes in
                    dpnet/tests/address.c
           Product: Wine
           Version: 1.7.41
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: directx-dplay
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
      Distribution: ---

==6954== Invalid read of size 1
==6954==    at 0x42034CE: wine_dbgstr_guid (test.h:536)
==6954==    by 0x41FF501: address_addcomponents (address.c:214)
==6954==    by 0x41FFE1D: func_address (address.c:324)
==6954==    by 0x4203779: run_test (test.h:584)
==6954==    by 0x4203BB3: main (test.h:666)
==6954==  Address 0x7f033faf is 15 bytes after a block of size 0 alloc'd
==6954==    at 0x7BC49E0E: notify_alloc (heap.c:254)
==6954==    by 0x7BC4E044: RtlAllocateHeap (heap.c:1715)
==6954==    by 0x41FF39B: address_addcomponents (address.c:199)
==6954==    by 0x41FFE1D: func_address (address.c:324)
==6954==    by 0x4203779: run_test (test.h:584)
==6954==    by 0x4203BB3: main (test.h:666)
==6954== 


==6954== Invalid read of size 2
==6954==    at 0x4203291: wine_dbgstr_wn (test.h:486)
==6954==    by 0x41FDDE6: wine_dbgstr_w (test.h:69)
==6954==    by 0x41FF511: address_addcomponents (address.c:214)
==6954==    by 0x41FFE1D: func_address (address.c:324)
==6954==    by 0x4203779: run_test (test.h:584)
==6954==    by 0x4203BB3: main (test.h:666)
==6954==  Address 0x7f033f88 is 0 bytes after a block of size 0 alloc'd
==6954==    at 0x7BC49E0E: notify_alloc (heap.c:254)
==6954==    by 0x7BC4E044: RtlAllocateHeap (heap.c:1715)
==6954==    by 0x41FF374: address_addcomponents (address.c:198)
==6954==    by 0x41FFE1D: func_address (address.c:324)
==6954==    by 0x4203779: run_test (test.h:584)
==6954==    by 0x4203BB3: main (test.h:666)
==6954== 

==6954== Conditional jump or move depends on uninitialised value(s)
==6954==    at 0x4202C66: winetest_vok (test.h:311)
==6954==    by 0x4202E40: winetest_ok (test.h:357)
==6954==    by 0x41FF998: address_setsp (address.c:267)
==6954==    by 0x41FFE22: func_address (address.c:325)
==6954==    by 0x4203779: run_test (test.h:584)
==6954==    by 0x4203BB3: main (test.h:666)
==6954==  Uninitialised value was created by a stack allocation
==6954==    at 0x41FF611: address_setsp (address.c:234)
==6954==

-- 
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