HomeFreeBSD

Check the magic value in longjmp() before calling sigprocmask().

Description

Check the magic value in longjmp() before calling sigprocmask().

This avoids passing garbage to sigprocmask() if the jump buffer is
invalid.

Reviewed by: mhorne
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24483

Details

Provenance
jhbAuthored on Apr 21 2020, 5:40 PM
Parents
rG5c4309b4749d: Handle non-dtrace-triggered kernel breakpoint traps in mips.
Branches
Unknown
Tags
Unknown

Event Timeline