reactos/drivers/usb/usbport
Thomas Faber ac20ab031c
[USBPORT] Correctly handle alternate settings returned from USBPORT_ParseConfigurationDescriptor.
The last parameter of USBPORT_ParseConfigurationDescriptor is a pointer
to a boolean indicating whether any alternate interface settings were
found for the specified interface.
Interpreting it as an alternate setting value, as we did before,
would always override the alternate setting to '1' (if any alternate
descriptors were present), therefore selecting the wrong interface
setting, and possibly causing a buffer overflow on the InterfaceList's
Pipes array.

Found by Special Pool.
2019-03-11 08:53:55 +01:00
..
CMakeLists.txt
debug.c [USBPORT] Add USBPORT_DumpingEndpointProperties() and USBPORT_DumpingTtEndpoint(). 2018-01-21 19:35:47 +01:00
device.c [USBPORT] Correctly handle alternate settings returned from USBPORT_ParseConfigurationDescriptor. 2019-03-11 08:53:55 +01:00
endpoint.c [USBPORT] Acquire EndpointSpinLock in addition to MiniportSpinLock in USBPORT_ReopenPipe. 2019-03-11 08:53:52 +01:00
guid.c
iface.c [USBPORT] Leave IRP status untouched for unhandled interfaces. 2019-03-11 08:53:49 +01:00
ioctl.c [USBPORT] Fix 64 bit issues 2018-08-04 19:19:34 +02:00
iso.c
pnp.c [USBHUB_NEW][USBPORT] Fix buffer size calculation for multi-sz values in IRP_MN_QUERY_ID. 2018-09-09 11:24:48 +02:00
power.c [USBPORT][USBOHCI_NEW] Avoid using pointers for physical addresses. 2018-05-11 15:46:25 +02:00
queue.c
roothub.c [USBPORT] Specify the correct length for the root hub's hub descriptor. 2018-08-16 14:14:31 +02:00
trfsplit.c [USBPORT] Reduces output of debug messages. 2018-01-21 19:35:46 +01:00
urb.c
usb2.c [USBPORT] Remove an unnecessary check in USBPORT_AllocateBandwidthUSB2. CID 1434261 2018-08-16 14:14:23 +02:00
usbdebug.h [USBPORT] Add USBPORT_DumpingEndpointProperties() and USBPORT_DumpingTtEndpoint(). 2018-01-21 19:35:47 +01:00
usbport.c [USBPORT] Don't change the status of IRP_MJ_SYSTEM_CONTROL requests. 2019-03-11 08:53:47 +01:00
usbport.h [USBPORT] Fix x64 build. 2018-05-12 10:11:21 +02:00
usbport.rc
usbport.spec