Page MenuHomeFreeBSD

D47879.id147558.diff
No OneTemporary

D47879.id147558.diff

diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c
--- a/sys/fs/cd9660/cd9660_vnops.c
+++ b/sys/fs/cd9660/cd9660_vnops.c
@@ -758,6 +758,9 @@
/* NOTREACHED */
}
+_Static_assert(sizeof(struct ifid) <= sizeof(struct fid),
+ "struct ifid must be no larger than struct fid");
+
/*
* Vnode pointer to File handle
*/
diff --git a/sys/fs/cd9660/iso.h b/sys/fs/cd9660/iso.h
--- a/sys/fs/cd9660/iso.h
+++ b/sys/fs/cd9660/iso.h
@@ -267,7 +267,7 @@
u_short ifid_pad;
cd_ino_t ifid_ino;
long ifid_start;
-};
+} __packed;
#define VFSTOISOFS(mp) ((struct iso_mnt *)((mp)->mnt_data))

File Metadata

Mime Type
text/plain
Expires
Tue, May 19, 10:20 AM (18 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33272494
Default Alt Text
D47879.id147558.diff (617 B)

Event Timeline