audk/MdeModulePkg/Bus/Usb
Evgeny Yakovlev f89f1dbe52 MdeModulePkg/UsbBusDxe: Fixed USB descriptor length check
According to spec if the length of a descriptor is smaller than
what the specification defines, then the host shall ignore it.
However if the size is greater than expected the host will ignore
the extra bytes and start looking for the next descriptor
at the end of actual length returned. Original check did not
handle the latter case correctly and only allowed descriptors
with lengths exactly as defined in specification.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Evgeny Yakovlev <insoreiges@gmail.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
2016-06-29 10:37:22 +08:00
..
UsbBotPei MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
UsbBusDxe MdeModulePkg/UsbBusDxe: Fixed USB descriptor length check 2016-06-29 10:37:22 +08:00
UsbBusPei MdeModulePkg/Usb: Fix wrong condition judgment to support usb3.1 dev 2016-04-21 15:53:14 +08:00
UsbKbDxe MdeModulePkg/UsbKbDxe: don't assert when the key read is invalid 2016-04-21 15:53:09 +08:00
UsbMassStorageDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
UsbMouseAbsolutePointerDxe MdeModulePkg/UsbMouseAbsolutePointerDxe: fix VS2015 NOOPT build error 2016-05-12 10:01:22 +08:00
UsbMouseDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00