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