mirror of
https://github.com/opnsense/src.git
synced 2026-02-26 03:13:02 -05:00
On ELFv2, the overflow parameters in the stack frame are at a different offset from sp than ELFv1. Adjust code to use the correct offset in all cases. This had resulted in argv[8] and up being copied to the incorrect address in the new context's initial stack frame. This is not necessarily the only bug in this function, I need to do a full review still and ensure the rest of the math is sane for ELFv2 stack frames. Reported by: pherde (Probably. My notes are a bit unclear.) Reviewed by: jhibbits (in irc) Sponsored by: Tag1 Consulting, Inc. |
||
|---|---|---|
| .. | ||
| _ctx_start.S | ||
| _set_tp.c | ||
| _setjmp.S | ||
| fabs.S | ||
| flt_rounds.c | ||
| fpgetmask.c | ||
| fpgetround.c | ||
| fpgetsticky.c | ||
| fpsetmask.c | ||
| fpsetround.c | ||
| infinity.c | ||
| makecontext.c | ||
| Makefile.inc | ||
| setjmp.S | ||
| signalcontext.c | ||
| sigsetjmp.S | ||
| syncicache.c | ||