Page MenuHomeFreeBSD

D34706.id.diff
No OneTemporary

D34706.id.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
Tue, Nov 19, 11:32 AM (4 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14715081
Default Alt Text
D34706.id.diff (540 B)

Event Timeline