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, Oct 30, 7:00 AM
Unknown Object (File)
Wed, Oct 29, 1:35 AM
Unknown Object (File)
Mon, Oct 27, 12:09 PM
Unknown Object (File)
Sun, Oct 26, 7:45 PM
Unknown Object (File)
Sun, Oct 26, 10:33 AM
Unknown Object (File)
Tue, Oct 14, 10:23 AM
Unknown Object (File)
Mon, Oct 13, 4:30 AM
Unknown Object (File)
Mon, Oct 13, 4:29 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