Page MenuHomeFreeBSD

id: sanitize arguments better
ClosedPublic

Authored by asomers on Jun 11 2021, 4:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 8, 2:30 PM
Unknown Object (File)
Sat, Aug 8, 11:07 AM
Unknown Object (File)
Sat, Aug 8, 9:20 AM
Unknown Object (File)
Tue, Aug 4, 2:55 AM
Unknown Object (File)
Mon, Aug 3, 9:04 AM
Unknown Object (File)
Wed, Jul 22, 6:40 PM
Unknown Object (File)
Wed, Jul 22, 1:44 PM
Unknown Object (File)
Sun, Jul 19, 11:45 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