mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[USBPORT] Don't change the status of IRP_MJ_SYSTEM_CONTROL requests.
Found by Driver Verifier.
This commit is contained in:
@@ -2711,7 +2711,7 @@ USBPORT_Dispatch(IN PDEVICE_OBJECT DeviceObject,
|
||||
IoStack->MajorFunction,
|
||||
IoStack->MinorFunction);
|
||||
|
||||
Irp->IoStatus.Status = Status;
|
||||
Status = Irp->IoStatus.Status;
|
||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user