diff --git a/reactos/hal/halx86/xbox/part_xbox.c b/reactos/hal/halx86/xbox/part_xbox.c index d5cdd819f14..56065c0e2de 100644 --- a/reactos/hal/halx86/xbox/part_xbox.c +++ b/reactos/hal/halx86/xbox/part_xbox.c @@ -76,6 +76,7 @@ HalpXboxReadSector(IN PDEVICE_OBJECT DeviceObject, SectorOffset, &Event, &StatusBlock); + if (!Irp) return STATUS_INSUFFICIENT_RESOURCES; Status = IoCallDriver(DeviceObject, Irp);