diff options
Diffstat (limited to 'src/sync.c')
-rw-r--r-- | src/sync.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -26,6 +26,9 @@ sync_tables (DISK * d) GPT_entry e = entry_read (d, &h.header, i); uint8_t type = 0, bootable = 0; + if (e.start>=2147483648) continue; + if (e.end>=2147483648) continue; + if (!guid_cmp (&e.type, &guid_efi)) { type = MBR_PARTITION_TYPE_EFI; |