mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
The (%esp & 0xf) == 0 should be true before the call instruction is
executed, for the properly aligned stack. Reported and tested by: rstone Pointy hat to: kib MFC after: 3 days
This commit is contained in:
parent
9325262669
commit
ea40bc90e1
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ _start:
|
|||
.cfi_def_cfa_register %ebp
|
||||
andl $0xfffffff0,%esp # align stack
|
||||
leal 8(%ebp),%eax
|
||||
subl $4,%esp
|
||||
pushl %eax # argv
|
||||
pushl 4(%ebp) # argc
|
||||
pushl %edx # rtld cleanup
|
||||
|
|
|
|||
Loading…
Reference in a new issue