linux-sg2042/drivers/siox
Gavin Schenk f87deada80 siox: fix possible buffer overflow in device_add_store
Width 20 given in format string is larger than destination
buffer 'type[20]', use %19s to prevent overflowing it.

Fixes: bbecb07fa0 ("siox: new driver framework for eckelmann SIOX")
Cc: stable <stable@vger.kernel.org>
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Gavin Schenk <g.schenk@eckelmann.de>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-15 18:07:46 +01:00
..
Kconfig siox: add gpio bus driver 2017-12-19 10:56:53 +01:00
Makefile siox: add gpio bus driver 2017-12-19 10:56:53 +01:00
siox-bus-gpio.c siox: add gpio bus driver 2017-12-19 10:56:53 +01:00
siox-core.c siox: fix possible buffer overflow in device_add_store 2018-03-15 18:07:46 +01:00
siox.h