mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
longjmp should restore the stack pointer as it would be *after* setjmp returns. Since the PSEH implementation of setjmp is __stdcall, this value differs from the usual esp+4, because *after* return *two* doublewords are popped (return IP and parameter). Thanks to blight_ for reporting
svn path=/trunk/; revision=15894
This commit is contained in:
@@ -33,7 +33,7 @@ __SEHSetJmp@4:
|
||||
mov ecx, [esp+0]
|
||||
|
||||
; stack pointer
|
||||
lea edx, [esp+4]
|
||||
lea edx, [esp+8]
|
||||
|
||||
; fill the jump buffer
|
||||
mov [eax+0], ebp
|
||||
|
||||
Reference in New Issue
Block a user