diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2016-06-14 23:03:13 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2016-06-14 23:03:13 +0000 |
commit | dce30cd7a07523b0937e7a2cbb83fe744bdbfcf0 (patch) | |
tree | 5bdd513e2822282618885ea68a2a1c0af0653f8f /modules/pam_selinux | |
parent | 2405afa2f019e4409b52396cdf62383b1440a165 (diff) | |
download | pam-dce30cd7a07523b0937e7a2cbb83fe744bdbfcf0.tar.gz pam-dce30cd7a07523b0937e7a2cbb83fe744bdbfcf0.tar.bz2 pam-dce30cd7a07523b0937e7a2cbb83fe744bdbfcf0.zip |
pam_timestamp: fix typo in strncmp usage
Before this fix, a typo in check_login_time resulted to ruser and
struct utmp.ut_user being compared by the first character only,
which in turn could lead to a too low timestamp value being assigned
to oldest_login, effectively causing bypass of check_login_time.
* modules/pam_timestamp/pam_timestamp.c (check_login_time): Fix typo
in strncmp usage.
Patch-by: Anton V. Boyarshinov <boyarsh@altlinux.org>
Diffstat (limited to 'modules/pam_selinux')
0 files changed, 0 insertions, 0 deletions