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] Created: (HARMONY-2693) [drlvm][jvmti] Incorrect direction flag value leads stack corruption
Date Thu, 14 Dec 2006 13:08:21 GMT
[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
         Attachments: 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


View raw message