https://git.reactos.org/?p=reactos.git;a=commitdiff;h=12a66769fc3702fd3e4cd7...
commit 12a66769fc3702fd3e4cd75c55614ffe4bad5361 Author: Thomas Faber thomas.faber@reactos.org AuthorDate: Tue Mar 5 17:28:20 2019 +0100 Commit: Thomas Faber thomas.faber@reactos.org CommitDate: Mon Mar 11 08:53:47 2019 +0100
[USBPORT] Don't change the status of IRP_MJ_SYSTEM_CONTROL requests.
Found by Driver Verifier. --- drivers/usb/usbport/usbport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/usbport/usbport.c b/drivers/usb/usbport/usbport.c index f37adb85b0..226bc6815a 100644 --- a/drivers/usb/usbport/usbport.c +++ b/drivers/usb/usbport/usbport.c @@ -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