You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Gregory Shimansky (JIRA)" <ji...@apache.org> on 2006/12/15 16:49:23 UTC

[jira] Resolved: (HARMONY-2693) [drlvm][jvmti] Incorrect direction flag value leads stack corruption

     [ http://issues.apache.org/jira/browse/HARMONY-2693?page=all ]

Gregory Shimansky resolved HARMONY-2693.
----------------------------------------

    Resolution: Fixed

Patch applied at 487582. Please check that it was applied as expected.

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