http://bugs.winehq.org/show_bug.cgi?id=14367
Summary: revise stack-frame relay code never to touch other side of stack pointer Product: Wine Version: 1.0.0 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jreiser@BitWagon.com
Created an attachment (id=14664) --> (http://bugs.winehq.org/attachment.cgi?id=14664) always avoid memory on wrong side of stack pointer
The code which relays stack frames from one calling sequence to another can be written never to touch memory that lies on the undefined side of the current stack pointer. Even though in normal cases there may be no danger in referencing below the stack pointer (because of precautions with alternate signal stack, etc.), it is more robust to avoid this. Debuggers (both code and human) and other tools may be unaware of the special precautions, or may find it impossible to comply. Patch is attached, and will be sent to wine-patches@winehq.org.