harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Rebriy (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2693) [drlvm][jvmti] Incorrect direction flag value leads stack corruption
Date Fri, 15 Dec 2006 07:45:23 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2693?page=all ]

Pavel Rebriy updated HARMONY-2693:
----------------------------------

    Attachment: incorrect-direction-flag-fix.patch

Updated version.

> [drlvm][jvmti] Incorrect direction flag value leads stack corruption
> --------------------------------------------------------------------
>
>                 Key: HARMONY-2693
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2693
>             Project: Harmony
>          Issue Type: Bug
>         Environment: ia32, msvc 2003, debug
>            Reporter: Pavel Rebriy
>         Assigned To: Gregory Shimansky
>         Attachments: incorrect-direction-flag-fix.patch, incorrect-direction-flag-fix.patch
>
>
> Windows vectored exception handler is executed with the same processor flags as in code
where exception has occurred. As Microsoft compiler generates unsafe function prolog in debug
mode, incorrect direction flag value may lead to undesirable results such as stack values
corruption. 
> The problem is similar to H-2010, when vectored handler changes IP address and returns
control to the OS the remaining part of handler can be executed with incorrect direction flag.
So the assembler wrappers are required to reset/restore a direction flag.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message