mirror_zfs/module/os
Dimitry Andric 73b3e8acef 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-11-06 10:06:29 -08:00
..
freebsd Fix gcc uninitialized warning in FreeBSD zio_crypt.c 2024-11-06 10:06:29 -08:00
linux Fix inconsistent mount options for ZFS root 2024-11-05 15:43:53 -08:00