You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 28, 2021. It is now read-only.
Hello
There seems to be a bug in NtfsCopy
https://github.com/LordMike/NtfsLib/blob/master/NtfsCopy/Program.cs#L152
byte[] buff = new byte[65535];
This throws an error when the file is larger than 65535 bytes in size.
The fileStream.Read(buff, 0, buff.Length); function returns a size larger than buff.
I fixed the issues by using a buff size that is divisible by 512. So 65536.
In the screenshot below, I added a print statement for the read() function, which read 65536
The text was updated successfully, but these errors were encountered: