Page MenuHomeFreeBSD

id: sanitize arguments better
ClosedPublic

Authored by asomers on Jun 11 2021, 4:40 PM.
Tags
None
Referenced Files
F109474907: D30734.id90744.diff
Wed, Feb 5, 1:43 PM
Unknown Object (File)
Tue, Feb 4, 1:58 PM
Unknown Object (File)
Tue, Feb 4, 11:46 AM
Unknown Object (File)
Sun, Feb 2, 11:02 AM
Unknown Object (File)
Mon, Jan 27, 12:29 PM
Unknown Object (File)
Dec 10 2024, 3:59 PM
Unknown Object (File)
Nov 17 2024, 11:20 AM
Unknown Object (File)
Nov 9 2024, 5:59 AM
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