]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r250177
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 14 Jun 2013 00:33:55 +0000 (00:33 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 14 Jun 2013 00:33:55 +0000 (00:33 +0000)
commita828748338ee52812903efe89158953b7c07bf07
tree8ee2797e4ec9449c5942ef55df1205d0fde333af
parentcca2fcf2d280f9275ebc31be6c5eaaac6c7b035d
MFC: r250177
Fix the getpwnam_r() call in the pname_to_uid() kerberos library function so
that it handles the ERANGE error return case. Without this fix, authentication
of users for certain system setups could fail unexpectedly.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251722 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
kerberos5/lib/libgssapi_krb5/pname_to_uid.c