u-boot/drivers/usb
Lukasz Majewski e059a400ad dfu:function: Fix number of allocated DFU function pointers
This subtle change fix problem with too small amount of allocated
memory to store DFU function pointers.

One needs to allocate extra space for sentinel NULL pointer in this array
of function pointers.

With the previous code, the NULL value overwrites malloc internal data
and afterwards free(f_dfu->function) crashes.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Marek Vasut <marex@denx.de>
2013-06-30 18:41:08 +02:00
..
eth usb: asix: Move software resets to basic_init 2013-06-12 22:22:51 +02:00
gadget dfu:function: Fix number of allocated DFU function pointers 2013-06-30 18:41:08 +02:00
host usb: ehci: add missing cache managment 2013-06-12 22:22:52 +02:00
musb usb: musb: Use ARRAY_SIZE at appropriate places 2013-06-26 10:26:06 -04:00
musb-new usb, musb-new: add wdt trigger 2013-06-30 18:41:07 +02:00
phy twl4030: make twl4030_i2c_read_u8 prototype consistent 2013-05-10 08:25:54 -04:00
ulpi usb: ulpi: add indicator configuration function 2012-10-15 11:54:01 -07:00