mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Do not try to read past partition.
This commit is contained in:
@@ -245,6 +245,9 @@ namespace DiscImageChef.Filesystems
|
||||
|
||||
foreach(ulong position in positions)
|
||||
{
|
||||
if(position + partitionStart >= partitionEnd)
|
||||
continue;
|
||||
|
||||
sector = imagePlugin.ReadSector(position);
|
||||
anchor = new AnchorVolumeDescriptorPointer();
|
||||
IntPtr anchorPtr = Marshal.AllocHGlobal(Marshal.SizeOf(anchor));
|
||||
|
||||
Reference in New Issue
Block a user