Page MenuHomeFreeBSD

ppp: Don't fetch a non-existent variadic argument
ClosedPublic

Authored by jhb on May 20 2026, 7:31 PM.
Tags
None
Referenced Files
F162637781: D57137.diff
Wed, Jul 15, 7:23 AM
F162637780: D57137.diff
Wed, Jul 15, 7:23 AM
Unknown Object (File)
Fri, Jul 10, 4:56 AM
Unknown Object (File)
Tue, Jul 7, 8:12 AM
Unknown Object (File)
Tue, Jul 7, 8:11 AM
Unknown Object (File)
Sat, Jul 4, 5:11 PM
Unknown Object (File)
Sat, Jul 4, 3:15 AM
Unknown Object (File)
Sun, Jun 28, 4:05 AM
Subscribers

Details

Summary

Only fetch the optional mode argument to ID0open to pass to open(2) if
O_CREAT is present in the flags argument. It is UB to fetch an
argument that doesn't exist. On CHERI this UB results in a fault.

Obtained from: CheriBSD
Sponsored by: AFRL, DARPA

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 73293
Build 70176: arc lint + arc unit