[Bug 8229] callbacks from win16 extended program that allocate linear memory screw up pointers

Wine Bugs wine-bugs at winehq.org
Mon Apr 30 01:31:06 CDT 2007


------- Additional Comments From lupien at physique.usherbrooke.ca  2007-30-04 01:31 -------
Created an attachment (id=6033)
 --> (http://bugs.winehq.org/attachment.cgi?id=6033&action=view)
patch to dlls/user32/msg16.c to prevent unhandled memory exception

This patch to the DispatchMessage16 function of dlls/user32/msg16.c also fixes
an exception that occured after coming back from the callback. The msg pointer
then points nowhere. Contrary to the previous patch, the original
segment:offset is lost by the implicit conversion done by the relay16.c
routines so I used another way (a temporary local copy of the structure).

This is my last patch for the day. Enjoy!

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