Module name: src
Changes by: m...@cvs.openbsd.org 2016/09/18 03:51:24
sys/dev/usb : usb_subr.c
Ensure that the device descriptor ``bMaxPacketSize'' value is usable
before using it as the ``wMaxPacketSize'' of the default endpoint.
This prevents host controller drivers from using incorrect value, in
particular 0, that makes ehci(4) crash.
While here do the 0xff -> 512 conversion for super speed devices.
Crash found with a facedancer21.