Merge "Require FAT to occupy at least one sector."
diff --git a/boot.c b/boot.c
index a3ba7ab..5f5fb24 100644
--- a/boot.c
+++ b/boot.c
@@ -250,7 +250,7 @@
 		boot->FATsecs = boot->bpbFATsmall;
 	}
 
-	if (boot->FATsecs > UINT32_MAX / boot->bpbFATs) {
+	if (boot->FATsecs < 1 || boot->FATsecs > UINT32_MAX / boot->bpbFATs) {
 		pfatal("Invalid FATs(%u) with FATsecs(%zu)",
 			boot->bpbFATs, (size_t)boot->FATsecs);
 		return FSFATAL;