DragonFlyBSD Kernel Audit
DF-0229 / fix.diff
← back to finding ↓ download raw
diff --git a/sys/kern/subr_diskgpt.c b/sys/kern/subr_diskgpt.c
--- a/sys/kern/subr_diskgpt.c
+++ b/sys/kern/subr_diskgpt.c
@@ -78,7 +78,7 @@
 	uint32_t entsz;
 	uint32_t crc;
 	uint32_t table_lba;
-	uint32_t table_blocks;
+	uint64_t table_blocks;
 	int i;
 	const char *dname;