u-boot/drivers/usb
nicolas.le.bayon@st.com b1f2a17c78 usb: gadget: avoid variable name clipping in cb_getvar
Hi,

A kind reminder to look at this patch (already reviewed by Marek and acked by Lukasz), and if possible to put it in the next pull list, or the one after is timing is too short.

Thanks in advance for your time

Best Regards
Nicolas

-----Original Message-----
From: Nicolas LE BAYON
Sent: mardi 25 avril 2017 10:18
To: Nicolas LE BAYON <nicolas.le.bayon@st.com>; u-boot@lists.denx.de; lukma@denx.de; marex@denx.de
Cc: nlebayon@gmail.com; Patrice CHOTARD <patrice.chotard@st.com>; Jean-philippe ROMAIN <jean-philippe.romain@st.com>
Subject: [U-Boot][PATCH v7] usb: gadget: avoid variable name clipping in cb_getvar

From: Nicolas Le Bayon <nicolas.le.bayon@st.com>

Instead of using a fixed-size array to store variable name, preferring a dynamic allocation treats correctly all variable name lengths.
Variable names are growing through releases and features. By this way, name clipping is prevented.

Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Acked-by: Lukasz Majewski <lukma@denx.de>
2017-05-11 22:03:36 -04: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: smsc95xx: Correct free_pkt() implementation 2017-05-09 20:17:24 -04:00
gadget usb: gadget: avoid variable name clipping in cb_getvar 2017-05-11 22:03:36 -04:00
host arm: am57xx: cl-som-am57x: invoke clock API to enable/disable clocks 2017-05-08 11:38:38 -04: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