Changeset 22009


Ignore:
Timestamp:
Aug 3, 2012, 12:38:42 AM (13 years ago)
Author:
dmik
Message:

kernel32: Fix crash when using the new SEH scheme (regression of r21999).

The stack pointer was shifted when doing a longjmp()-like jump back to the
handler which could cause a bunch of weird things. Many Java apps crashed
because of that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/excpt.h

    r21999 r22009  
    263263             "movl %%ebp, 36(%%ecx); "                                         \
    264264             "movl %%esp, 40(%%ecx); "                                         \
     265             "addl $4, 40(%%ecx); " /* compensate for one PUSHL */             \
    265266             "movl %%ecx, %%fs:0; "                                            \
    266267             "popl %%fs; "                                                     \
Note: See TracChangeset for help on using the changeset viewer.