zfs/contrib
Richard Yao fa74250cd3 PAM: Fix unchecked return value from zfs_key_config_load()
9a49c6b782 was intended to fix this issue,
but I had missed the case in pam_sm_open_session(). Clang's static
analyzer had not reported it and I forgot to look for other cases.

Interestingly, GCC gcc-12.1.1_p20220625's static analyzer had caught
this as multiple double-free bugs, since another failure after the
failure in zfs_key_config_load() will cause us to attempt to free the
memory that zfs_key_config_load() was supposed to allocate, but had
cleaned up upon failure.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #13978
2022-12-01 12:39:41 -08:00
..
bash_completion.d Turn shellcheck into a normal make target. Fix new files it caught 2021-06-09 13:05:34 -07:00
bpftrace Remove basename(1). Clean up/shorten some coreutils pipelines 2022-02-16 17:58:55 -08:00
dracut contrib: dracut: zfs-snapshot-bootfs: exit status fix 2022-10-20 11:37:21 -07:00
initramfs initramfs: use `mount.zfs` instead of `mount` 2022-10-05 17:01:39 -07:00
intel_qat Add intel_QAT patches 2020-09-30 13:17:30 -07:00
pam_zfs_key PAM: Fix unchecked return value from zfs_key_config_load() 2022-12-01 12:39:41 -08:00
pyzfs Fix checkstyle warning: E275 missing whitespace after keyword 2022-08-02 10:05:14 -07:00
zcp Fix contrib/zcp/Makefile.am 2019-10-30 12:37:49 -07:00
Makefile.am Turn shellcheck into a normal make target. Fix new files it caught 2021-06-09 13:05:34 -07:00