mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
🐛Fix partition bounds on System V filesystem.
This commit is contained in:
@@ -94,7 +94,7 @@ namespace DiscImageChef.Filesystems
|
||||
spc
|
||||
};
|
||||
|
||||
foreach(byte[] sb_sector in locations.TakeWhile(i => i + sb_size_in_sectors < (int)imagePlugin.Info.Sectors)
|
||||
foreach(byte[] sb_sector in locations.TakeWhile(i => (ulong)i + partition.Start + sb_size_in_sectors < imagePlugin.Info.Sectors)
|
||||
.Select(i => imagePlugin.ReadSectors((ulong)i + partition.Start,
|
||||
sb_size_in_sectors)))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user