mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
Leave space for the 128 byte red-zone on the stack.
This commit is contained in:
parent
f3b234157e
commit
2dbe628162
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ sendsig(catcher, sig, mask, code)
|
|||
p->p_sigstk.ss_flags |= SS_ONSTACK;
|
||||
#endif
|
||||
} else
|
||||
sp = (char *)regs->tf_rsp - sizeof(struct sigframe);
|
||||
sp = (char *)regs->tf_rsp - sizeof(struct sigframe) - 128;
|
||||
/* Align to 16 bytes. */
|
||||
sfp = (struct sigframe *)((unsigned long)sp & ~0xF);
|
||||
PROC_UNLOCK(p);
|
||||
|
|
|
|||
Loading…
Reference in a new issue