]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r290174:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 15 Nov 2015 07:14:17 +0000 (07:14 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 15 Nov 2015 07:14:17 +0000 (07:14 +0000)
commit1bdf03b45036e1ca3b3f50623547fb75b31b2e47
tree43f4f7a981cd71c5e1ff33cace172d71bcdb6f83
parent8f8fd9b9db2faf9ca93ce6ab9a59f4914963d834
MFC r290174:

In pw_userlock, set 'name' to NULL when we encounter an all number string
because it is also used as an indicator of whether a name or an UID is
being used and we may have undefined results as 'name' may contain
uninitialized stack contents.

git-svn-id: svn://svn.freebsd.org/base/stable/10@290854 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/pw/pw_user.c