]> Git Repo - J-u-boot.git/commit
common: nvedit: use snprintf instead of sprintf
authorPeng Fan <[email protected]>
Wed, 23 Dec 2015 04:08:09 +0000 (12:08 +0800)
committerTom Rini <[email protected]>
Mon, 4 Jan 2016 17:25:36 +0000 (12:25 -0500)
commit5d49b4cdf9417b88476567c8ec78ff185d84b10f
treecc33b0326c79581071c9c86a3efb36672280a4c9
parent5a6894397a657edec5d0cf4e20968cc66a368c51
common: nvedit: use snprintf instead of sprintf

Use snprintf to replace sprintf.

Coverity log:
"
Unbounded source buffer (STRING_SIZE)
string_size: Passing string init_val of unknown size to sprintf.
"

Reported-by: Coverity
Signed-off-by: Peng Fan <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Reviewed-by: Joe Hershberger <[email protected]>
common/cmd_nvedit.c
This page took 0.03512 seconds and 4 git commands to generate.