mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[USBHUB_NEW] Don't leak IRP_MJ_SYSTEM_CONTROL requests.
Found by Driver Verifier.
This commit is contained in:
parent
938f0e469d
commit
e10e6a85fb
1 changed files with 3 additions and 1 deletions
|
@ -4795,7 +4795,9 @@ USBH_PdoDispatch(IN PUSBHUB_PORT_PDO_EXTENSION PortExtension,
|
||||||
|
|
||||||
case IRP_MJ_SYSTEM_CONTROL:
|
case IRP_MJ_SYSTEM_CONTROL:
|
||||||
DPRINT1("USBH_PdoDispatch: USBH_SystemControl() UNIMPLEMENTED. FIXME\n");
|
DPRINT1("USBH_PdoDispatch: USBH_SystemControl() UNIMPLEMENTED. FIXME\n");
|
||||||
Status = STATUS_NOT_SUPPORTED;//USBH_PortSystemControl(PortExtension, Irp);
|
//USBH_PortSystemControl(PortExtension, Irp);
|
||||||
|
Status = Irp->IoStatus.Status;
|
||||||
|
USBH_CompleteIrp(Irp, Status);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue