diff options
author | Benny Baumann <BenBE@geshi.org> | 2023-12-12 13:13:27 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-12-19 12:22:59 +0000 |
commit | f2227807c7878a14c6cb02fab363d9607d667ec4 (patch) | |
tree | 2450e3dd18c47e007b7d06239390e49618cb3272 /modules/pam_unix/unix_chkpwd.c | |
parent | de910eeee54c1f38e9f8e83d8cd9c048f65051eb (diff) | |
download | pam-f2227807c7878a14c6cb02fab363d9607d667ec4.tar.gz pam-f2227807c7878a14c6cb02fab363d9607d667ec4.tar.bz2 pam-f2227807c7878a14c6cb02fab363d9607d667ec4.zip |
pam_timestamp: indicate non-null arguments to the compiler
As these functions assume their arguments to be valid pointers without
checking this pre-condition, this should be marked to the compiler.
Doing so allows to detect potential NULL dereferences when a caller
may pass in an invalid NULL pointer.
* modules/pam_timestamp/hmac_openssl_wrapper.c (generate_key, read_file,
write_file, key_management): Add PAM_NONNULL attribute.
Diffstat (limited to 'modules/pam_unix/unix_chkpwd.c')
0 files changed, 0 insertions, 0 deletions