Page MenuHomeFreeBSD

id: sanitize arguments better
ClosedPublic

Authored by asomers on Jun 11 2021, 4:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 11, 2:55 AM
Unknown Object (File)
Fri, Oct 9, 4:35 PM
Unknown Object (File)
Fri, Oct 9, 4:35 PM
Unknown Object (File)
Fri, Oct 9, 4:32 PM
Unknown Object (File)
Thu, Oct 8, 8:36 PM
Unknown Object (File)
Thu, Oct 8, 7:05 PM
Unknown Object (File)
Thu, Oct 8, 6:20 AM
Unknown Object (File)
Wed, Oct 7, 1: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