[Bug 1835] Stack corruption in Microcap V on Linux

Wine Bugs wine-bugs at winehq.org
Sun Oct 2 06:46:04 CDT 2005


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


us at edmeades.me.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Running Microcap V on Linux |Stack corruption in Microcap
                   |                            |V on Linux




------- Additional Comments From us at edmeades.me.uk  2005-02-10 06:46 -------
The URL here didnt work, but a google for MC5DEMO found the program. The good 
news is the program appears to work fine, the bad news is only if +relay debug 
channel is on.

I've been investigating the cause, and it is some stack corruption in 
RegisterClass. 

A simple workaround is to modify dlls\user\wnd16.c:
ATOM WINAPI RegisterClass16( const WNDCLASS16 *wc )
{
    char temp[100];     /* Add this line */
    WNDCLASSEX16 wcex;

With this in place, it starts fine and appears usable (although since I have 
no idea whats going on, its a guess).

Investigating the stack corruption further

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



More information about the wine-bugs mailing list