Page MenuHomeFreeBSD

id: sanitize arguments better
ClosedPublic

Authored by asomers on Jun 11 2021, 4:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 7, 7:00 PM
Unknown Object (File)
Wed, Jun 5, 1:17 AM
Unknown Object (File)
May 11 2024, 3:22 PM
Unknown Object (File)
May 9 2024, 9:42 AM
Unknown Object (File)
May 1 2024, 6:51 PM
Unknown Object (File)
Apr 20 2024, 3:39 AM
Unknown Object (File)
Dec 23 2023, 12:04 AM
Unknown Object (File)
Dec 14 2023, 10:14 PM
Subscribers

Details

Summary

The -[AMc] flags ignore the user argument. Better if id rejects
invocations that include a user argument along with any of those flags.

PR: 256554
MFC after: 2 weeks
Sponsored by: Axcient

Test Plan

manually tested with all command line options

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39849
Build 36738: arc lint + arc unit