Page MenuHomeFreeBSD

id: sanitize arguments better
ClosedPublic

Authored by asomers on Jun 11 2021, 4:40 PM.
Tags
None
Referenced Files
F169184096: D30734.diff
Mon, Aug 31, 6:12 PM
F169111416: D30734.id.diff
Mon, Aug 31, 10:58 AM
Unknown Object (File)
Sun, Aug 30, 12:27 PM
Unknown Object (File)
Sun, Aug 30, 10:56 AM
Unknown Object (File)
Sat, Aug 29, 6:35 PM
Unknown Object (File)
Thu, Aug 27, 1:43 PM
Unknown Object (File)
Wed, Aug 26, 11:25 AM
Unknown Object (File)
Wed, Aug 26, 2:43 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