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)
Sat, Sep 5, 3:42 AM
Unknown Object (File)
Fri, Sep 4, 5:39 PM
Unknown Object (File)
Fri, Sep 4, 2:46 PM
Unknown Object (File)
Thu, Sep 3, 9:29 AM
Unknown Object (File)
Wed, Sep 2, 8:39 PM
Unknown Object (File)
Wed, Sep 2, 8:02 AM
Unknown Object (File)
Wed, Sep 2, 7:45 AM
Unknown Object (File)
Tue, Sep 1, 8:16 AM
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