mirror of
https://github.com/linux-pam/linux-pam.git
synced 2024-11-27 03:33:39 +08:00
63ba6e4aa1
At the end of the loop the iterator `i` can be equal to `PAM_MAX_RESP_SIZE`, which will cause an index call outside the array in the `input[i] = '\0';` Signed-off-by: Dmitry V. Levin <ldv@strace.io> |
||
---|---|---|
.. | ||
.gitignore | ||
blank.c | ||
check_user.c | ||
Makefile.am | ||
meson.build | ||
README | ||
tty_conv.c | ||
vpass.c | ||
xsh.c |
(now we are getting networked apps, be careful to try and test on a securely isolated system!) These programs grant no privileges, but they give an idea of how well the modules are working. blank is new as of Linux-PAM-0.21. If you are writing/modifying an application it might be a place to start... xsh is new as of Linux-PAM-0.31, it is identical to blank, but invokes /bin/sh if the user is authenticated.