Peng Fan bb08a6e7d5 common: cli_simple: use strlcpy instead of strcpy
Report Coverity log:
Destination buffer too small (STRING_OVERFLOW)
string_overflow: You might overrun the 1024 byte destination string
lastcommand by writing 1025 bytes from console_buffer

Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2016-01-13 21:05:26 -05:00
..
2016-01-04 12:25:35 -05:00
2015-12-15 08:57:32 +08:00
2016-01-13 21:05:25 -05:00
2015-07-20 07:21:47 -06:00
2016-01-08 10:15:47 -05:00
2015-07-27 15:53:48 -07:00
2015-11-05 16:47:06 -05:00
2015-10-26 09:22:36 +01:00
2015-11-12 13:18:59 -05:00
2015-10-19 17:06:16 -04:00
2016-01-13 21:05:25 -05:00