Page MenuHomeFreeBSD

D47281.diff
No OneTemporary

D47281.diff

diff --git a/sys/contrib/openzfs/module/os/freebsd/zfs/zio_crypt.c b/sys/contrib/openzfs/module/os/freebsd/zfs/zio_crypt.c
--- a/sys/contrib/openzfs/module/os/freebsd/zfs/zio_crypt.c
+++ b/sys/contrib/openzfs/module/os/freebsd/zfs/zio_crypt.c
@@ -1686,11 +1686,10 @@
freebsd_crypt_session_t *tmpl = NULL;
uint8_t *authbuf = NULL;
-
+ memset(&puio_s, 0, sizeof (puio_s));
+ memset(&cuio_s, 0, sizeof (cuio_s));
zfs_uio_init(&puio, &puio_s);
zfs_uio_init(&cuio, &cuio_s);
- memset(GET_UIO_STRUCT(&puio), 0, sizeof (struct uio));
- memset(GET_UIO_STRUCT(&cuio), 0, sizeof (struct uio));
#ifdef FCRYPTO_DEBUG
printf("%s(%s, %p, %p, %d, %p, %p, %u, %s, %p, %p, %p)\n",

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 12, 10:03 AM (21 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14348388
Default Alt Text
D47281.diff (680 B)

Event Timeline