mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix AaruFormat's DDT verification when its size on-image is bigger than 1MiB. Fixes #726
This commit is contained in:
@@ -151,7 +151,7 @@ public sealed partial class AaruFormat
|
||||
|
||||
while(readBytes + verifySize < ddtHeader.cmpLength)
|
||||
{
|
||||
verifyBytes = new byte[readBytes];
|
||||
verifyBytes = new byte[verifySize];
|
||||
_imageStream.Read(verifyBytes, 0, verifyBytes.Length);
|
||||
crcVerify.Update(verifyBytes);
|
||||
readBytes += (ulong)verifyBytes.LongLength;
|
||||
|
||||
Reference in New Issue
Block a user