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
Unknown Object (File)
Wed, Jun 17, 11:42 AM
Unknown Object (File)
Wed, Jun 17, 10:03 AM
Unknown Object (File)
Mon, Jun 8, 12:28 PM
Unknown Object (File)
Sun, Jun 7, 10:04 AM
Unknown Object (File)
Sun, Jun 7, 10:01 AM
Unknown Object (File)
Fri, Jun 5, 10:32 AM
Unknown Object (File)
Fri, Jun 5, 10:28 AM
Unknown Object (File)
Thu, Jun 4, 2:55 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 Not Applicable
Unit
Tests Not Applicable