mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
fix unsafe stack pointer adjustment in vmInvoke
This commit is contained in:
parent
1ed7c0d94c
commit
5354e36530
@ -129,11 +129,10 @@ LOCAL(test):
|
||||
// call function
|
||||
call *12(%ebp)
|
||||
|
||||
// restore stack pointer
|
||||
movl %ebp,%esp
|
||||
|
||||
// restore callee-saved registers
|
||||
subl $16,%esp
|
||||
// restore stack pointer and callee-saved registers
|
||||
movl %ebp,%ecx
|
||||
subl $16,%ecx
|
||||
movl %ecx,%esp
|
||||
|
||||
movl 0(%esp),%ebx
|
||||
movl 4(%esp),%esi
|
||||
|
Loading…
Reference in New Issue
Block a user