[Bug 38725] valgrind shows an invalid write in ole32/tests/usrmarshal.c

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jun 9 04:06:05 CDT 2015


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

--- Comment #1 from Austin English <austinenglish at gmail.com> ---
==1724== Invalid read of size 2
==1724==    at 0x480398D: wine_dbgstr_wn (test.h:486)
==1724==    by 0x47FF3F3: wine_dbgstr_w (test.h:69)
==1724==    by 0x4802F60: test_marshal_SNB (usrmarshal.c:855)
==1724==    by 0x4803107: func_usrmarshal (usrmarshal.c:881)
==1724==    by 0x4803E78: run_test (test.h:584)
==1724==    by 0x48042C0: main (test.h:666)
==1724==  Address 0x468b750 is 24 bytes inside a block of size 25 alloc'd
==1724==    at 0x7BC4A9F1: notify_alloc (heap.c:254)
==1724==    by 0x7BC4EC94: RtlAllocateHeap (heap.c:1715)
==1724==    by 0x4D01025: IMalloc_fnAlloc (ifs.c:186)
==1724==    by 0x4D0187C: IMalloc_Alloc (objidl.h:1236)
==1724==    by 0x4D0187C: CoTaskMemAlloc (???:0)
==1724==    by 0x47FF452: user_allocate (usrmarshal.c:51)
==1724==    by 0x4D3FD24: SNB_UserUnmarshal (usrmarshal.c:2250)
==1724==    by 0x4802F25: test_marshal_SNB (usrmarshal.c:851)
==1724==    by 0x4803107: func_usrmarshal (usrmarshal.c:881)
==1724==    by 0x4803E78: run_test (test.h:584)
==1724==    by 0x48042C0: main (test.h:666)
==1724== 

==1724== Invalid read of size 2
==1724==    at 0x7B84A386: strlenW (unicode.h:200)
==1724==    by 0x7B84FEEC: CompareStringEx (locale.c:3277)
==1724==    by 0x7B84FD2D: CompareStringW (locale.c:3243)
==1724==    by 0x7B8504EF: lstrcmpW (locale.c:3482)
==1724==    by 0x4802F7A: test_marshal_SNB (usrmarshal.c:855)
==1724==    by 0x4803107: func_usrmarshal (usrmarshal.c:881)
==1724==    by 0x4803E78: run_test (test.h:584)
==1724==    by 0x48042C0: main (test.h:666)
==1724==  Address 0x468b750 is 24 bytes inside a block of size 25 alloc'd
==1724==    at 0x7BC4A9F1: notify_alloc (heap.c:254)
==1724==    by 0x7BC4EC94: RtlAllocateHeap (heap.c:1715)
==1724==    by 0x4D01025: IMalloc_fnAlloc (ifs.c:186)
==1724==    by 0x4D0187C: IMalloc_Alloc (objidl.h:1236)
==1724==    by 0x4D0187C: CoTaskMemAlloc (???:0)
==1724==    by 0x47FF452: user_allocate (usrmarshal.c:51)
==1724==    by 0x4D3FD24: SNB_UserUnmarshal (usrmarshal.c:2250)
==1724==    by 0x4802F25: test_marshal_SNB (usrmarshal.c:851)
==1724==    by 0x4803107: func_usrmarshal (usrmarshal.c:881)
==1724==    by 0x4803E78: run_test (test.h:584)
==1724==    by 0x48042C0: main (test.h:666)
==1724== 

==1724== Invalid read of size 2
==1724==    at 0x401993C: real_length (sortkey.c:329)
==1724==    by 0x4019963: wine_compare_string (sortkey.c:338)
==1724==    by 0x7B84FF21: CompareStringEx (locale.c:3280)
==1724==    by 0x7B84FD2D: CompareStringW (locale.c:3243)
==1724==    by 0x7B8504EF: lstrcmpW (locale.c:3482)
==1724==    by 0x4802F7A: test_marshal_SNB (usrmarshal.c:855)
==1724==    by 0x4803107: func_usrmarshal (usrmarshal.c:881)
==1724==    by 0x4803E78: run_test (test.h:584)
==1724==    by 0x48042C0: main (test.h:666)
==1724==  Address 0x468b750 is 24 bytes inside a block of size 25 alloc'd
==1724==    at 0x7BC4A9F1: notify_alloc (heap.c:254)
==1724==    by 0x7BC4EC94: RtlAllocateHeap (heap.c:1715)
==1724==    by 0x4D01025: IMalloc_fnAlloc (ifs.c:186)
==1724==    by 0x4D0187C: IMalloc_Alloc (objidl.h:1236)
==1724==    by 0x4D0187C: CoTaskMemAlloc (???:0)
==1724==    by 0x47FF452: user_allocate (usrmarshal.c:51)
==1724==    by 0x4D3FD24: SNB_UserUnmarshal (usrmarshal.c:2250)
==1724==    by 0x4802F25: test_marshal_SNB (usrmarshal.c:851)
==1724==    by 0x4803107: func_usrmarshal (usrmarshal.c:881)
==1724==    by 0x4803E78: run_test (test.h:584)
==1724==    by 0x48042C0: main (test.h:666)
==1724== 

etc.

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