commit | 46c99d40dd7464d2d103a00d711c54d91608177e | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Wed Dec 23 12:08:09 2015 +0800 |
committer | Tom Rini <trini@konsulko.com> | Mon Jan 04 12:25:36 2016 -0500 |
tree | cc33b0326c79581071c9c86a3efb36672280a4c9 | |
parent | 1bef00d38403a369029d945e0141969ab17c3254 [diff] |
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 <peng.fan@nxp.com> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>