mirror of
https://github.com/reactos/reactos.git
synced 2025-06-28 10:49:42 +00:00
[FASTFAT] Fail if allocating the stream FO fails.
This commit is contained in:
parent
b250eb5f3e
commit
a10f6c7a0c
1 changed files with 5 additions and 0 deletions
|
@ -47,6 +47,11 @@ vfatFCBInitializeCacheFromVolume(
|
||||||
}
|
}
|
||||||
|
|
||||||
fileObject = IoCreateStreamFileObject (NULL, vcb->StorageDevice);
|
fileObject = IoCreateStreamFileObject (NULL, vcb->StorageDevice);
|
||||||
|
if (fileObject == NULL)
|
||||||
|
{
|
||||||
|
status = STATUS_INSUFFICIENT_RESOURCES;
|
||||||
|
goto Quit;
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef KDBG
|
#ifdef KDBG
|
||||||
if (DebugFile.Buffer != NULL && FsRtlIsNameInExpression(&DebugFile, &fcb->LongNameU, FALSE, NULL))
|
if (DebugFile.Buffer != NULL && FsRtlIsNameInExpression(&DebugFile, &fcb->LongNameU, FALSE, NULL))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue