diff options
author | ikerexxe <ipedrosa@redhat.com> | 2020-06-29 16:06:28 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-07-01 09:54:22 +0000 |
commit | 276ad5b8e48aa77c24ef25e18d2e97f66c83d68c (patch) | |
tree | 237ab8b9bc1f6f68e4116a61feebcdebb72edab1 /libpam_misc | |
parent | 2bae5daf16d4466185fac89539d653b269a3ea01 (diff) | |
download | pam-276ad5b8e48aa77c24ef25e18d2e97f66c83d68c.tar.gz pam-276ad5b8e48aa77c24ef25e18d2e97f66c83d68c.tar.bz2 pam-276ad5b8e48aa77c24ef25e18d2e97f66c83d68c.zip |
pam_loginuid: fix unlikely negative 3rd argument of strncmp on error path
[ldv: rewrote commit message]
* modules/pam_loginuid/pam_loginuid.c (set_loginuid): Do not pass to
strncmp the return value of pam_modutil_read in an unlikely case when
the latter fails to read from /proc/self/uid_map.
Diffstat (limited to 'libpam_misc')
0 files changed, 0 insertions, 0 deletions