Skip site navigation (1)Skip section navigation (2)
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/>
References:  <bug-278546-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278546

--- Comment #4 from Ivan Rozhuk <rozhuk.im@gmail.com> ---
struct fiodgname_arg fgn =3D { 0 }; - also work as memset() and used in ker=
nel
and userspace.
struct fiodgname_arg fgn =3D { .buf =3D buf, .len =3D len };- does NOT work=
: some
memory leave uninitialized

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278546-227-MQc7Gpzrcl>