zfs/module/icp
Tony Hutter bb1dd98bcc Workaround UBSAN errors for variable arrays
This gets around UBSAN errors when using arrays at the end of
structs.  It converts some zero-length arrays to variable length
arrays and disables UBSAN checking on certain modules.

It is based off of the patch from #15460.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Co-authored-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Issue #15145
Closes #15510
2024-02-05 10:03:32 -08:00
..
algs Fix Clang 15 compilation errors 2023-06-05 18:25:57 -07:00
api Remove checks for null out value in encryption paths 2020-03-26 10:41:57 -07:00
asm-x86_64 icp: fix all !ENDBR objtool warnings in x86 Asm code 2022-12-01 12:39:39 -08:00
core Fix use-after-free bugs in icp code 2022-12-01 12:39:40 -08:00
include icp: fix all !ENDBR objtool warnings in x86 Asm code 2022-12-01 12:39:39 -08:00
io Fix possible NULL pointer dereference in sha2_mac_init() 2022-12-01 12:39:42 -08:00
os Replace sprintf()->snprintf() and strcpy()->strlcpy() 2020-06-07 11:42:12 -07:00
spi Fix strdup conflict on other platforms 2019-10-10 09:47:06 -07:00
Makefile.in Workaround UBSAN errors for variable arrays 2024-02-05 10:03:32 -08:00
illumos-crypto.c Remove sha1 hashing from OpenZFS, it's not used anywhere. 2022-07-26 10:12:44 -07:00