diff options
author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2023-12-12 17:03:05 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-12-12 20:05:08 +0000 |
commit | 86506bddaa02e845c87f6513e04e109c4e3c78ff (patch) | |
tree | f1cb2335c497732c268ab08a71d2abeb8a9775c2 /modules/pam_unix/bigcrypt_main.c | |
parent | eec4358a49dc0d6d699532965f453f0da240227e (diff) | |
download | pam-86506bddaa02e845c87f6513e04e109c4e3c78ff.tar.gz pam-86506bddaa02e845c87f6513e04e109c4e3c78ff.tar.bz2 pam-86506bddaa02e845c87f6513e04e109c4e3c78ff.zip |
pam_xauth: simplify check_acl
The strcspn function can easily replace memchr here. The latter would
scan the entire buffer and requires a manual size limitation.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'modules/pam_unix/bigcrypt_main.c')
0 files changed, 0 insertions, 0 deletions