mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 09:50:07 +00:00
[NTFS]
Don't attempt to dereference a null pointer CID 1321987 svn path=/trunk/; revision=69000
This commit is contained in:
parent
9c35e7b817
commit
02a238acf4
|
@ -414,7 +414,7 @@ NtfsMakeFCBFromDirEntry(PNTFS_VCB Vcb,
|
||||||
pathName[FileName->NameLength] = UNICODE_NULL;
|
pathName[FileName->NameLength] = UNICODE_NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
Size = NtfsGetFileSize(Vcb, Record, Stream, wcslen(Stream), &AllocatedSize);
|
Size = NtfsGetFileSize(Vcb, Record, (Stream ? Stream : L""), (Stream ? wcslen(Stream) : 0), &AllocatedSize);
|
||||||
|
|
||||||
rcFCB = NtfsCreateFCB(pathName, Stream, Vcb);
|
rcFCB = NtfsCreateFCB(pathName, Stream, Vcb);
|
||||||
if (!rcFCB)
|
if (!rcFCB)
|
||||||
|
|
Loading…
Reference in a new issue