summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2019-08-22 21:58:26 +0200
committerTom Rini <[email protected]>2019-08-30 14:17:11 -0400
commit3c7166dbb464a65d9822cfee7c233a7d8c1a9672 (patch)
tree5bda38829d6f2310bf224eff1f36740e62797210 /include
parent40a13173b5d461bd43184dc1478d3a0f5becf55f (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 <[email protected]> Reviewed-by: Bin Meng <[email protected]> Acked-by: Heiko Schocher <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions