[Bug 4742] Message handling in dlls/user/edit.c may crash programs

Wine Bugs wine-bugs at winehq.org
Tue Mar 14 12:42:52 CST 2006


http://bugs.winehq.org/show_bug.cgi?id=4742


wine.dev at web.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wine.dev at web.de




------- Additional Comments From wine.dev at web.de  2006-14-03 12:42 -------
A second "LocalFree()" on a memory-handle corrupt our Heap, but is detected and
handled graceful in windows.
(I need to move this Part of my tests to "dlls/kernel/tests/heap.c")

Your source is similar to the relevant code from NoteXpad, but you use
LocalReAlloc() after EM_SETHANDLE.

 > when handling the EM_SETHANDLE message the current code frees the old memory
This is not the case according to a simple test. (we free the internal UNICODE
copy of the ANSI-Data)

I need to learn more about the internal behavior of the edit-control first.

-- 
By by ... Detlef

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list