Page MenuHomeFreeBSD

id: sanitize arguments better
ClosedPublic

Authored by asomers on Jun 11 2021, 4:40 PM.
Tags
None
Referenced Files
F170803291: D30734.diff
Sun, Sep 6, 5:52 PM
Unknown Object (File)
Sat, Sep 5, 11:18 PM
Unknown Object (File)
Sat, Sep 5, 1:44 PM
Unknown Object (File)
Sat, Sep 5, 12:02 AM
Unknown Object (File)
Fri, Sep 4, 6:37 PM
Unknown Object (File)
Fri, Sep 4, 6:09 PM
Unknown Object (File)
Fri, Sep 4, 6:08 PM
Unknown Object (File)
Thu, Sep 3, 12:27 PM
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