mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[NTFS]
Fix a bug in sparse files reading. Spotted and fixed by Aman Priyadarshi svn path=/trunk/; revision=71053
This commit is contained in:
parent
0df3e104b4
commit
4516374507
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ ReadAttribute(PDEVICE_EXTENSION Vcb,
|
|||
{
|
||||
CurrentOffset += DataRunLength * Vcb->NtfsInfo.BytesPerCluster;
|
||||
DataRun = DecodeRun(DataRun, &DataRunOffset, &DataRunLength);
|
||||
if (DataRunLength != (ULONGLONG)-1)
|
||||
if (DataRunOffset != (ULONGLONG)-1)
|
||||
{
|
||||
DataRunStartLCN = LastLCN + DataRunOffset;
|
||||
LastLCN = DataRunStartLCN;
|
||||
|
|
Loading…
Reference in a new issue