]> git.cameronkatri.com Git - pw-darwin.git/commit
pw_checkname since the beginning if too strict on GECOS field,
authorBaptiste Daroussin <bapt@FreeBSD.org>
Wed, 2 Dec 2015 22:35:25 +0000 (22:35 +0000)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Wed, 2 Dec 2015 22:35:25 +0000 (22:35 +0000)
commit37f903568b33e005010ceea4921219edbe23ba39
tree3a3613975222074634102105d1b5cf5fc9405847
parent42c74a30927e0f5a7c28809ed3df548911bf17a1
pw_checkname since the beginning if too strict on GECOS field,
relax it a bit so gecos can be used to store multibytes data.

This was unseen before FreeBSD 10.2 as this validation function was motly unused
since FreeBSD 10.2 the usage of this function has been generalized to improve
validation.

Reported by: des
MFC after: 1 week
pw/pw_user.c