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@winehq.org Reporter: austinenglish@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==
https://bugs.winehq.org/show_bug.cgi?id=38443
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Debian
https://bugs.winehq.org/show_bug.cgi?id=38443
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
--- Comment #1 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- This should be fixed by http://source.winehq.org/git/wine.git/?a=commit;h=4f15cc4d1a41e81bcb146908fc...
https://bugs.winehq.org/show_bug.cgi?id=38443
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |4f15cc4d1a41e81bcb146908fc0 | |4b4f6dd9ffa11 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Alistair Leslie-Hughes from comment #1)
This should be fixed by http://source.winehq.org/git/wine.git/?a=commit; h=4f15cc4d1a41e81bcb146908fc04b4f6dd9ffa11
Yes, thanks.
https://bugs.winehq.org/show_bug.cgi?id=38443
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.45.