mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02:00
[USBUHCI] Fix wrong sizeof access (#4070)
Reviewed-by: Victor Perevertkin <victor.perevertkin@reactos.org> Reviewed-by: Thomas Faber <thomas.faber@reactos.org>
This commit is contained in:
committed by
Stanislav Motylkov
parent
feae6fbc64
commit
c73c86419e
@@ -241,7 +241,7 @@ UhciRHSetFeaturePortResetWorker(IN PUHCI_EXTENSION UhciExtension,
|
||||
RegPacket.UsbPortRequestAsyncCallback(UhciExtension,
|
||||
10, // TimerValue
|
||||
pPort,
|
||||
sizeof(pPort),
|
||||
sizeof(*pPort),
|
||||
UhciRHPortResetComplete);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user