Page MenuHomeFreeBSD

D47879.id147401.diff
No OneTemporary

D47879.id147401.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
Sat, Apr 4, 9:56 PM (20 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30846526
Default Alt Text
D47879.id147401.diff (617 B)

Event Timeline