diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-08-22 21:58:26 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-30 14:17:11 -0400 |
commit | 3c7166dbb464a65d9822cfee7c233a7d8c1a9672 (patch) | |
tree | 5bda38829d6f2310bf224eff1f36740e62797210 /arch/nds32/lib/Makefile | |
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>
Diffstat (limited to 'arch/nds32/lib/Makefile')
0 files changed, 0 insertions, 0 deletions