]> git.ipfire.org Git - thirdparty/shadow.git/commit
Prevent out of boundary access
authorSamanta Navarro <ferivoz@riseup.net>
Mon, 30 Jan 2023 11:54:49 +0000 (11:54 +0000)
committerSerge Hallyn <serge@hallyn.com>
Wed, 1 Feb 2023 21:47:35 +0000 (15:47 -0600)
commit8e0ad48c21bd7d5506ff44eb4c04f796b80045ce
tree8a03b5db87e1eee2bece6fc531611512db122e6a
parentffc480c2e93f05266e4b130229877ad13f71a8c0
Prevent out of boundary access

If lines start with '\0' then it is possible to trigger out of
boundary accesses.

Check if indices are valid before accessing them.

Signed-off-by: Samanta Navarro <ferivoz@riseup.net>
src/login_nopam.c
src/suauth.c