mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +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:
@@ -52,6 +52,7 @@ FsRtlBalanceReads(PDEVICE_OBJECT TargetDevice)
|
||||
FALSE,
|
||||
&Event,
|
||||
&IoStatusBlock);
|
||||
if (!Irp) return STATUS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
/* Send it */
|
||||
Status = IoCallDriver(TargetDevice, Irp);
|
||||
|
||||
Reference in New Issue
Block a user