Page MenuHomeFreeBSD

id: sanitize arguments better
ClosedPublic

Authored by asomers on Jun 11 2021, 4:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 27, 9:39 PM
Unknown Object (File)
Feb 25 2025, 5:16 AM
Unknown Object (File)
Feb 18 2025, 5:45 AM
Unknown Object (File)
Feb 10 2025, 12:15 PM
Unknown Object (File)
Feb 8 2025, 8:38 PM
Unknown Object (File)
Feb 5 2025, 1:43 PM
Unknown Object (File)
Feb 4 2025, 1:58 PM
Unknown Object (File)
Feb 4 2025, 11:46 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable