[Bug 20861] New: CoTaskMemAlloc()/SysFreeString() mismatch in DocHost_Release(), caught by valgrind in shdocvw/tests/webbrowser.c
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Nov 28 15:13:46 CST 2009
http://bugs.winehq.org/show_bug.cgi?id=20861
Summary: CoTaskMemAlloc()/SysFreeString() mismatch in
DocHost_Release(), caught by valgrind in
shdocvw/tests/webbrowser.c
Product: Wine
Version: 1.1.33
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: download, source, testcase
Severity: normal
Priority: P2
Component: urlmon
AssignedTo: wine-bugs at winehq.org
ReportedBy: dank at kegel.com
http://kegel.com/wine/valgrind/logs/2009-11-27-12.53/vg-shdocvw_webbrowser.txt
says
Invalid free() / delete / delete[]
at notify_free (heap.c:255)
by RtlFreeHeap (heap.c:1748)
by SysFreeString (oleaut.c:194)
by DocHost_Release (dochost.c:756)
by WebBrowser_Release (webbrowser.c:159)
by test_WebBrowser (webbrowser.c:2367)
Address 0x7f0ae944 is 4 bytes before a block of size 24 alloc'd
at notify_alloc (heap.c:247)
by RtlAllocateHeap (heap.c:1697)
by IMalloc_fnAlloc (ifs.c:186)
by CoTaskMemAlloc (ifs.c:562)
by URLMoniker_GetDisplayName (umon.c:383)
And sure enough, it looks like a mismatch between
CoTaskMemAlloc() and SysFreeString(), which sounds bad.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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