[NTFS]
[reactos.git] / reactos / drivers / filesystems / ntfs / finfo.c
index 5c39644..9b1ad8c 100644 (file)
@@ -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':';