aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_unix/unix_chkpwd.c
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2023-12-12 13:10:59 +0100
committerDmitry V. Levin <ldv@strace.io>2023-12-19 12:22:59 +0000
commitde910eeee54c1f38e9f8e83d8cd9c048f65051eb (patch)
tree14145b434676794161697b29dded8e774fd38b51 /modules/pam_unix/unix_chkpwd.c
parentebc35c605beca9020bb743134575fdc558dfdaf5 (diff)
downloadpam-de910eeee54c1f38e9f8e83d8cd9c048f65051eb.tar.gz
pam-de910eeee54c1f38e9f8e83d8cd9c048f65051eb.tar.bz2
pam-de910eeee54c1f38e9f8e83d8cd9c048f65051eb.zip
pam_timestamp: ensure we get zero-initialized memory
This ensures that the whole buffer is in a somewhat defined state all the time even when some function calls write into the buffer only partially. This is not strictly necessary, as short writes into the buffer are checked, but it's good practice anyway. * modules/pam_timestamp/hmac_openssl_wrapper.c (generate_key): Replace malloc with calloc.
Diffstat (limited to 'modules/pam_unix/unix_chkpwd.c')
0 files changed, 0 insertions, 0 deletions