linux/drivers/usb/chipidea
Heinrich Schuchardt bd5fb0aec3 usb: chipidea: debug: avoid out of bound read
A string written by the user may not be zero terminated.

sscanf may read memory beyond the buffer if no zero byte
is found.

For testing build with CONFIG_USB_CHIPIDEA=y, CONFIG_USB_CHIPIDEA_DEBUG=y.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
2015-05-06 14:28:18 +08:00
..
bits.h usb: chipidea: support runtime power management for otg fsm mode 2015-03-18 16:19:12 +01:00
ci_hdrc_imx.c usb: chipidea: add a flag for turn on vbus early for host 2015-03-18 16:19:12 +01:00
ci_hdrc_imx.h usb: chipidea: usbmisc_imx: add .set_wakeup interface 2015-03-18 16:19:09 +01:00
ci_hdrc_msm.c
ci_hdrc_pci.c chipidea: pci: register nop PHY 2015-03-18 16:19:11 +01:00
ci_hdrc_usb2.c
ci_hdrc_zevio.c Chipidea: TI-NSPIRE USB OTG hardware does not support high speed and must connect at full speed 2015-03-18 16:19:11 +01:00
ci.h usb: chipidea: use hrtimer for otg fsm timers 2015-03-26 10:54:39 +01:00
core.c usb: chipidea: support runtime power management for otg fsm mode 2015-03-18 16:19:12 +01:00
debug.c usb: chipidea: debug: avoid out of bound read 2015-05-06 14:28:18 +08:00
debug.h
host.c usb: chipidea: host: turn on vbus before add hcd if early vbus on is required 2015-03-18 16:19:12 +01:00
host.h
Kconfig chipidea: pci: make it depends on NOP_USB_XCEIV 2015-03-26 10:54:39 +01:00
Makefile chipidea: introduce specific Kconfig options for glue drivers 2015-03-26 10:54:39 +01:00
otg_fsm.c usb: chipidea: otg: remove mutex unlock and lock while stop and start role 2015-04-28 12:51:30 +02:00
otg_fsm.h usb: chipidea: use hrtimer for otg fsm timers 2015-03-26 10:54:39 +01:00
otg.c usb: chipidea: add runtime power management support 2015-03-18 16:19:08 +01:00
otg.h
udc.c usb: chipidea: udc: bypass pullup DP when gadget connect in OTG fsm mode 2015-04-08 14:13:02 +08:00
udc.h
usbmisc_imx.c usb: chipidea: usbmisc_imx: fix returnvar.cocci warnings 2015-03-26 10:44:37 +01:00