mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00: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:
parent
ba22ca771d
commit
c2ca8fb596
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ HalpXboxReadSector(IN PDEVICE_OBJECT DeviceObject,
|
|||
SectorOffset,
|
||||
&Event,
|
||||
&StatusBlock);
|
||||
if (!Irp) return STATUS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
Status = IoCallDriver(DeviceObject,
|
||||
Irp);
|
||||
|
|
Loading…
Reference in a new issue