u-boot-brain/drivers/usb
Heinrich Schuchardt 7f2e59aee5 usb: musb: avoid out of bound access in udc_setup_ep
For id = 15 an out of bound access occurs in udc_setup_ep().
Increase the size of epinfo[] from 30 to 32 to encompass
ids 0..15.

The problem was highlighted by cppcheck.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2017-04-25 12:50:12 +02:00
..
common armv7: ls1021a: Drop macro CONFIG_LS102XA 2017-04-17 09:03:30 -07:00
dwc3 usb: dwc3: gadget: make cache-maintenance on event buffers more robust 2017-04-14 16:44:16 +02:00
emul dm: core: Add flags parameter to device_remove() 2017-04-04 20:15:10 -06:00
eth net: usb: r8152: Use ALLOC_CACHE_ALIGN_BUFFER() to allocate the buffers 2016-12-08 10:36:22 -06:00
gadget usb: gadget: g_dnl: don't set iProduct nor iSerialNumber 2017-04-14 16:44:16 +02:00
host usb: dwc2: invalidate the dcache before starting the DMA 2017-04-14 16:44:16 +02:00
musb usb: musb: avoid out of bound access in udc_setup_ep 2017-04-25 12:50:12 +02:00
musb-new musb: properly detect failed initialization of controller 2017-04-25 12:50:11 +02:00
phy treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
ulpi usb: ulpi: Fix compile warning in read/write on 64-bit machines. 2016-04-01 17:18:09 -04:00
Kconfig usb: gadget: Move CONFIG_USB_GADGET_DUALSPEED to Kconfig 2016-04-20 11:43:27 +02:00