You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to
[Linux](https://elixir.bootlin.com/linux/v5.19.17/source/arch/x86/kernel/signal.c#L633),
`esp - 8` should point to `SignalFrame` instead of `LegacyContext`. We
could also remove the ` - 8` and following `wrapping_add` directly but
keep it just to be consistent with Linux.
There are some potential overflow issues where we perform some
arithmetic operations on user provided input. We should always use
`checked_*` or `wrapping_*`. There are likely more similar issues in the
codebase, and this PR only fixes the ones related to `sigreturn`.
0 commit comments