Changeset 21633 for trunk/src


Ignore:
Timestamp:
Jun 2, 2011, 1:49:51 PM (14 years ago)
Author:
dmik
Message:

kernel32: Fixed crashes in code involving _try/except due to garbage in FS:[0]. See OpenJDK ticket #96 for details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/seh/sehutil.s

    r21625 r21633  
    4444    pushl %esi
    4545
    46     pushl %fs
    47     popl %eax
     46    movl %fs, %eax
    4847    andl $0x0000FFFF, %eax
    4948    cmpl $Dos32TIB, %eax /* Running along the OS/2 chain? */
     
    7473    pushl %fs
    7574
    76     pushl $1
    77     call _SetWin32TIB@4 /* _stdcall, rtl, callee cleans stack */
     75    pushl 64(%eax)  /* Win32FS */
     76    popl %fs
    7877
    7978    /* check if we could successfully switch to Win32 FS. A failure means the
Note: See TracChangeset for help on using the changeset viewer.