commit | 3c7166dbb464a65d9822cfee7c233a7d8c1a9672 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Thu Aug 22 21:58:26 2019 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri Aug 30 14:17:11 2019 -0400 |
tree | 5bda38829d6f2310bf224eff1f36740e62797210 | |
parent | 40a13173b5d461bd43184dc1478d3a0f5becf55f [diff] |
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>