intel / kernelflinger

BSD 2-Clause "Simplified" License
65 stars 67 forks source link

Check the value of EpNum before accessing the EpHandles #117

Closed ceiba1985 closed 3 years ago

ceiba1985 commented 3 years ago

EpNum shouldn't larger than (16 * 2), since basing on the usb protocol, a USB device can only have up to 32 endpoints (16 OUT and 16 IN).

Tracked-On: OAM-97425 Signed-off-by: ji, zhenlong z zhenlong.z.ji@intel.com