mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
- FsRtlBalanceReads: Fail if we are out of memory instead of dereferencing null
- Fix for Coverity error CID: 465 svn path=/trunk/; revision=36483
This commit is contained in:
parent
85033039ab
commit
9bbb8ab1a3
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ FsRtlBalanceReads(PDEVICE_OBJECT TargetDevice)
|
|||
FALSE,
|
||||
&Event,
|
||||
&IoStatusBlock);
|
||||
if (!Irp) return STATUS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
/* Send it */
|
||||
Status = IoCallDriver(TargetDevice, Irp);
|
||||
|
|
Loading…
Reference in a new issue