mirror_zfs/module/os
Dimitry Andric 2bf1520211
Fix gcc uninitialized warning in FreeBSD zio_crypt.c
In FreeBSD's `zio_do_crypt_data()`, ensure that two `struct uio`
variables are cleared before copying data out of them. This avoids
accessing garbage data, and fixes gcc `-Wuninitialized` warnings.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Toomas Soome <tsoome@me.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Dimitry Andric <dimitry@andric.com>
Closes #16688
2024-10-29 15:05:02 -04:00
..
freebsd Fix gcc uninitialized warning in FreeBSD zio_crypt.c 2024-10-29 15:05:02 -04:00
linux config: fix dequeue_signal check for kernels <4.20 2024-10-20 19:50:13 -07:00