mirror_zfs/module/icp
Richard Yao 6ae2f90888 Fix possible NULL pointer dereference in sha2_mac_init()
If mechanism->cm_param is NULL, passing mechanism to
PROV_SHA2_GET_DIGEST_LEN() will dereference a NULL pointer.

Coverity reported this.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #14044
2022-10-18 15:35:23 -07:00
..
algs Cleanup: Address Clang's static analyzer's unused code complaints 2022-10-14 13:37:54 -07:00
api Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
asm-aarch64/blake3 Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
asm-ppc64/blake3 Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
asm-x86_64 Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
core Fix use-after-free bugs in icp code 2022-09-15 11:46:42 -07:00
include Fix assertions in crypto reference helpers 2022-09-15 13:24:00 -07:00
io Fix possible NULL pointer dereference in sha2_mac_init() 2022-10-18 15:35:23 -07:00
spi Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
illumos-crypto.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00