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, Sep 30, 6:56 AM
Unknown Object (File)
Tue, Sep 29, 6:35 PM
Unknown Object (File)
Sun, Sep 13, 4:07 PM
Unknown Object (File)
Sat, Sep 12, 11:38 PM
Unknown Object (File)
Sat, Sep 12, 3:52 PM
Unknown Object (File)
Sat, Sep 12, 2:55 PM
Unknown Object (File)
Sat, Sep 12, 9:19 AM
Unknown Object (File)
Fri, Sep 11, 9:42 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