summaryrefslogtreecommitdiff
path: root/libpam/pam_handlers.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
commitfa66049858580678e619360087dd825a783716d7 (patch)
treea47fb1fc633930768bdde96d65e9fc3fd9e251f6 /libpam/pam_handlers.c
parented74a6c898df2963d0587262caf6996259025426 (diff)
pam_localuser: use BUFSIZ as the line buffer size
As BUFSIZ is the buffer size used in stdio, it must be an efficient size for the line buffer. Also, it's larger than LINE_MAX used as the line buffer size before this change, effectively raising the maximum user name length supported by this module. * modules/pam_localuser/pam_localuser.c (pam_sm_authenticate): Replace LINE_MAX with BUFSIZ.
Diffstat (limited to 'libpam/pam_handlers.c')
0 files changed, 0 insertions, 0 deletions