aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_unix/unix_update.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2013-11-19 14:18:44 +0000
committerDmitry V. Levin <ldv@altlinux.org>2013-11-20 10:52:04 +0000
commit0f65b1fe153b343e28b617a8553b6e978cbd37d4 (patch)
tree88658b44a3d96f42531410b57f5282055f21f92b /modules/pam_unix/unix_update.c
parenta5f0998028283c5933f147dabae1dc7e65170bcd (diff)
downloadpam-0f65b1fe153b343e28b617a8553b6e978cbd37d4.tar.gz
pam-0f65b1fe153b343e28b617a8553b6e978cbd37d4.tar.bz2
pam-0f65b1fe153b343e28b617a8553b6e978cbd37d4.zip
pam_securetty: check return value of fgets
Checking return value of fgets not only silences the warning from glibc but also leads to a cleaner code. * modules/pam_securetty/pam_securetty.c (securetty_perform_check): Check return value of fgets.
Diffstat (limited to 'modules/pam_unix/unix_update.c')
0 files changed, 0 insertions, 0 deletions