mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 11:53:32 +00:00
[NTFS]
Properly set StreamNameLength (with the length of extra data we append). This fixes truncated output from FindFirstStreamW/FindNextStreamW svn path=/trunk/; revision=68822
This commit is contained in:
@@ -265,7 +265,7 @@ NtfsGetSteamInformation(PNTFS_FCB Fcb,
|
||||
}
|
||||
|
||||
CurrentInfo->NextEntryOffset = 0;
|
||||
CurrentInfo->StreamNameLength = Attribute->NameLength * sizeof(WCHAR);
|
||||
CurrentInfo->StreamNameLength = (Attribute->NameLength + wcslen(L"::$DATA")) * sizeof(WCHAR);
|
||||
CurrentInfo->StreamSize.QuadPart = AttributeDataLength(Attribute);
|
||||
CurrentInfo->StreamAllocationSize.QuadPart = AttributeAllocatedLength(Attribute);
|
||||
CurrentInfo->StreamName[0] = L':';
|
||||
|
||||
Reference in New Issue
Block a user