Page MenuHomeFreeBSD

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

Authored by jhb on Apr 18 2020, 4:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 24, 7:35 PM
Unknown Object (File)
Dec 2 2025, 3:49 AM
Unknown Object (File)
Nov 27 2025, 6:59 AM
Unknown Object (File)
Nov 17 2025, 10:58 PM
Unknown Object (File)
Nov 17 2025, 9:30 PM
Unknown Object (File)
Oct 12 2025, 3:51 PM
Unknown Object (File)
Oct 12 2025, 3:51 PM
Unknown Object (File)
Oct 12 2025, 3:51 PM
Subscribers

Details

Summary

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

Obtained from: CheriBSD

Test Plan
  • booted multiuser in CheriBSD

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30585
Build 28326: arc lint + arc unit