mirror of
https://github.com/reactos/reactos.git
synced 2026-07-05 05:44:20 +08:00
- HalpXboxReadSector: Fail if we are out of memory instead of dereferencing null
- Fix for Coverity error CID: 464 svn path=/trunk/; revision=36490
This commit is contained in:
@@ -76,6 +76,7 @@ HalpXboxReadSector(IN PDEVICE_OBJECT DeviceObject,
|
||||
SectorOffset,
|
||||
&Event,
|
||||
&StatusBlock);
|
||||
if (!Irp) return STATUS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
Status = IoCallDriver(DeviceObject,
|
||||
Irp);
|
||||
|
||||
Reference in New Issue
Block a user