aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_unix/pam_unix_sess.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-05-01 21:44:59 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-05-21 16:51:52 +0000
commitc6c3b3f9f7f7024fbbaff3edf0f57c8cb945b4c5 (patch)
tree34830e6df9f10d573035e67f51a23314aa9e17fb /modules/pam_unix/pam_unix_sess.c
parentfa66049858580678e619360087dd825a783716d7 (diff)
downloadpam-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