[Bug 14367] New: revise stack-frame relay code never to touch other side of stack pointer

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 8 12:34:37 CDT 2008


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 at winehq.org
        ReportedBy: jreiser at 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 at winehq.org.


-- 
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