alistair23-linux/drivers/bus
Marek Behún 3bf3c97446 bus: moxtet: fix potential stack buffer overflow
The input_read function declares the size of the hex array relative to
sizeof(buf), but buf is a pointer argument of the function. The hex
array is meant to contain hexadecimal representation of the bin array.

Link: https://lore.kernel.org/r/20200215142130.22743-1-marek.behun@nic.cz
Fixes: 5bc7f990cd ("bus: Add support for Moxtet bus")
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reported-by: sohu0106 <sohu0106@126.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2020-02-15 10:33:19 -08:00
..
fsl-mc Char/Misc driver changes for 5.6-rc1 2020-01-29 10:35:54 -08:00
arm-cci.c
brcmstb_gisb.c
da8xx-mstpri.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
hisi_lpc.c bus: hisi_lpc: Clean some types 2019-11-05 08:47:21 +08:00
imx-weim.c bus: imx-weim: remove incorrect __init annotations 2019-09-04 17:59:32 +02:00
Kconfig bus: tegra-aconnect: Remove PM_CLK dependency 2020-01-10 12:31:24 +01:00
Makefile bus/ti-pwmss: move TI PWMSS driver from PWM to bus subsystem 2019-10-17 21:17:42 +01:00
mips_cdmm.c
moxtet.c bus: moxtet: fix potential stack buffer overflow 2020-02-15 10:33:19 -08:00
mvebu-mbus.c
omap-ocp2scp.c
omap_l3_noc.c
omap_l3_noc.h
omap_l3_smx.c
omap_l3_smx.h
qcom-ebi2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
simple-pm-bus.c
sun50i-de2.c
sunxi-rsb.c bus: sunxi-rsb: Remove dev_err() usage after platform_get_irq() 2019-08-06 14:15:49 +08:00
tegra-aconnect.c
tegra-gmi.c
ti-pwmss.c bus/ti-pwmss: move TI PWMSS driver from PWM to bus subsystem 2019-10-17 21:17:42 +01:00
ti-sysc.c ARM: SoC-related driver updates 2020-02-08 14:04:19 -08:00
ts-nbus.c
uniphier-system-bus.c bus: uniphier-system-bus: use devm_platform_ioremap_resource() 2019-09-05 17:57:18 +02:00
vexpress-config.c