Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107189661
D47281.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
680 B
Referenced Files
None
Subscribers
None
D47281.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D47281: Fix gcc uninitialized warning in FreeBSD zio_crypt.c
Attached
Detach File
Event Timeline
Log In to Comment