Date: Wed, 24 Apr 2024 16:08:16 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278546] fdevname_r: pass partially uninitialized memory to kernel Message-ID: <bug-278546-227-MQc7Gpzrcl@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-278546-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278546 --- Comment #4 from Ivan Rozhuk <rozhuk.im@gmail.com> --- struct fiodgname_arg fgn = { 0 }; - also work as memset() and used in kernel and userspace. struct fiodgname_arg fgn = { .buf = buf, .len = len };- does NOT work: some memory leave uninitialized -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278546-227-MQc7Gpzrcl>
