mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Guard AmigaDOS identification against too small partitions. Fixes #595
This commit is contained in:
@@ -60,7 +60,7 @@ namespace Aaru.Filesystems
|
||||
|
||||
public bool Identify(IMediaImage imagePlugin, Partition partition)
|
||||
{
|
||||
if(partition.Start >= partition.End)
|
||||
if(partition.Start + 4 >= partition.End)
|
||||
return false;
|
||||
|
||||
// Boot block is unless defined otherwise, 2 blocks
|
||||
|
||||
Reference in New Issue
Block a user