Page MenuHomeFreeBSD

D34706.diff
No OneTemporary

D34706.diff

diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c
--- a/sys/compat/freebsd32/freebsd32_misc.c
+++ b/sys/compat/freebsd32/freebsd32_misc.c
@@ -1780,6 +1780,7 @@
copy_stat(struct stat *in, struct stat32 *out)
{
+ bzero(out, sizeof(*out));
CP(*in, *out, st_dev);
CP(*in, *out, st_ino);
CP(*in, *out, st_mode);
@@ -1803,6 +1804,7 @@
copy_ostat(struct stat *in, struct ostat32 *out)
{
+ bzero(out, sizeof(*out));
CP(*in, *out, st_dev);
CP(*in, *out, st_ino);
CP(*in, *out, st_mode);

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 7:31 AM (22 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14715081
Default Alt Text
D34706.diff (540 B)

Event Timeline