mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 19:24:51 +00:00
Ensure file reading operations return the expected data.
This commit is contained in:
@@ -432,7 +432,7 @@ public class Vfs : IDisposable
|
||||
|
||||
stream.Position = offset;
|
||||
|
||||
return stream.Read(buf, 0, buf.Length);
|
||||
return stream.EnsureRead(buf, 0, buf.Length);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user