diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-05-01 21:44:59 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-05-21 16:51:52 +0000 |
commit | c6c3b3f9f7f7024fbbaff3edf0f57c8cb945b4c5 (patch) | |
tree | 34830e6df9f10d573035e67f51a23314aa9e17fb /modules/pam_unix/pam_unix_sess.c | |
parent | fa66049858580678e619360087dd825a783716d7 (diff) | |
download | pam-c6c3b3f9f7f7024fbbaff3edf0f57c8cb945b4c5.tar.gz pam-c6c3b3f9f7f7024fbbaff3edf0f57c8cb945b4c5.tar.bz2 pam-c6c3b3f9f7f7024fbbaff3edf0f57c8cb945b4c5.zip |
pam_localuser: open the passwd file after user name validation
Since user name is untrusted input, it should be validated earlier
rather than later.
* modules/pam_localuser/pam_localuser.c (pam_sm_authenticate): Open
the passwd file after user name validation.
Diffstat (limited to 'modules/pam_unix/pam_unix_sess.c')
0 files changed, 0 insertions, 0 deletions