]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/limits.c: check_logins(): Report LOGIN_ERROR_LOGIN if str2ul() ERANGE
authorAlejandro Colomar <alx@kernel.org>
Thu, 11 Jan 2024 10:47:50 +0000 (11:47 +0100)
committerSerge Hallyn <serge@hallyn.com>
Fri, 12 Jul 2024 03:42:58 +0000 (22:42 -0500)
commitc2ebd210e70e6f6d85d9bfc00f4269e6bcd828d3
tree9d4735ffd69e804eb4c824f8b1317fc995f5d35a
parent568d26d7ed1f0f033d244910ab66f7b66d19b893
lib/limits.c: check_logins(): Report LOGIN_ERROR_LOGIN if str2ul() ERANGE

Fixes: 10396f953613 ("* libmisc/limits.c: Parse the limits, umask, nice, maxlogin, file limit with getlog() / getulong().")
Link: <https://github.com/shadow-maint/shadow/pull/893/commits/882cf59459bc4501b0882a7f02d36c8ce28a30f2>
Cc: Iker Pedrosa <ipedrosa@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/limits.c