https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c73c86419e46c079ad00e5...
commit c73c86419e46c079ad00e5e5761e8889f5f9fdb2 Author: Efe Itietie omoiti00@gmail.com AuthorDate: Mon Oct 25 10:58:46 2021 -0700 Commit: Stanislav Motylkov x86corez@gmail.com CommitDate: Tue Oct 26 17:10:51 2021 +0300
[USBUHCI] Fix wrong sizeof access (#4070)
Reviewed-by: Victor Perevertkin victor.perevertkin@reactos.org Reviewed-by: Thomas Faber thomas.faber@reactos.org --- drivers/usb/usbuhci/roothub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/usbuhci/roothub.c b/drivers/usb/usbuhci/roothub.c index 2916ef5cc3e..286e5c3fd3d 100644 --- a/drivers/usb/usbuhci/roothub.c +++ b/drivers/usb/usbuhci/roothub.c @@ -241,7 +241,7 @@ UhciRHSetFeaturePortResetWorker(IN PUHCI_EXTENSION UhciExtension, RegPacket.UsbPortRequestAsyncCallback(UhciExtension, 10, // TimerValue pPort, - sizeof(pPort), + sizeof(*pPort), UhciRHPortResetComplete); }