--- fat.c.old 2006-01-30 08:51:38.000000000 +0100 +++ fat.c 2006-03-06 21:55:29.000000000 +0100 @@ -281,6 +281,9 @@ goto found; fat32: + if (memcmp(vs->type.fat32.magic, "FAT32 ", 8) != 0) + return -1; + strcpy(id->type_version, "FAT32"); /* FAT32 root dir is a cluster chain like any other directory */