Page MenuHomeFreeBSD

D40814.diff
No OneTemporary

D40814.diff

diff --git a/sys/kern/kern_module.c b/sys/kern/kern_module.c
--- a/sys/kern/kern_module.c
+++ b/sys/kern/kern_module.c
@@ -520,10 +520,9 @@
id = mod->id;
refs = mod->refs;
name = mod->name;
- CP(mod->data, data32, intval);
+ _Static_assert(sizeof(data32) == sizeof(data32.uintval),
+ "bad modspecific32_t size");
CP(mod->data, data32, uintval);
- CP(mod->data, data32, longval);
- CP(mod->data, data32, ulongval);
MOD_SUNLOCK;
stat32 = uap->stat;

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 25, 8:22 PM (13 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27927260
Default Alt Text
D40814.diff (466 B)

Event Timeline