[Bug 224556] pw(8) does not check semantics of name

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 5 02:32:38 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224556

Brooks Davis <brooks at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brooks at FreeBSD.org

--- Comment #1 from Brooks Davis <brooks at FreeBSD.org> ---
The pw_checkname() function is used to validate the username before any actions
are taken and rejects names contain '/' (The whole list of bad characters is "
,\t:+&#%$^()!@~*?<>=|\\/\"").  Thus a path in the name argument isn't possible.
 At a glance the name also isn't used for anything but print output.  I believe
this isn't an issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list