mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix false positive in FAT identification.
This commit is contained in:
@@ -384,7 +384,7 @@ namespace Aaru.Filesystems.FAT
|
||||
break;
|
||||
}
|
||||
|
||||
if(fat2SectorNo > partition.End)
|
||||
if(fat2SectorNo > partition.End || fat2SectorNo == 0)
|
||||
return false;
|
||||
|
||||
AaruConsole.DebugWriteLine("FAT plugin", "2nd fat starts at = {0}", fat2SectorNo);
|
||||
|
||||
Reference in New Issue
Block a user