u-boot/board/siemens
Heinrich Schuchardt 3c7166dbb4 siemens: avoid out of bound access
char num[1];
	sprintf(num, "%d", i);

leads to a buffer overrun.

Simplify the overly complex coding.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Heiko Schocher <hs@denx.de>
2019-08-30 14:17:11 -04:00
..
common siemens: avoid out of bound access 2019-08-30 14:17:11 -04:00
corvus SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
draco MAINTAINERS,board/siemens: update maintainer 2019-08-26 11:46:29 -04:00
pxm2 MAINTAINERS,board/siemens: update maintainer 2019-08-26 11:46:29 -04:00
rut MAINTAINERS,board/siemens: update maintainer 2019-08-26 11:46:29 -04:00
smartweb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
taurus env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00