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-13 21:05:18 -05:00
2016-01-13 21:05:18 -05:00
2015-11-19 20:27:50 -07:00
2015-12-15 08:57:33 +08:00
2015-08-13 07:19:36 -04:00
2015-12-07 08:35:23 -05:00
2015-12-12 15:56:08 -05:00
2015-10-11 17:12:10 -04:00
2015-12-12 15:56:10 -05:00
2015-08-12 20:47:13 -04:00
2016-01-13 21:05:26 -05:00
2016-01-04 12:25:35 -05:00
2015-11-13 10:23:33 +02:00
2015-11-19 20:27:50 -07:00
2015-12-15 08:57:32 +08:00
2015-11-19 20:27:50 -07:00
2015-12-15 08:57:35 +08:00
2016-01-13 21:05:25 -05:00
2015-11-05 08:22:21 +01:00
2015-07-14 18:03:15 -06:00
2015-07-14 18:03:16 -06:00
2015-11-19 20:27:50 -07:00
2015-11-19 20:27:50 -07:00
2016-01-13 21:05:18 -05:00
2015-12-16 10:31:31 -05:00
2015-08-05 08:44:07 -06:00
2015-10-21 07:46:26 -06:00
2015-09-21 08:29:48 -07:00
2015-11-19 20:27:50 -07:00
2015-07-20 07:21:47 -06:00
2015-09-07 13:41:05 +02:00
2015-11-19 20:27:50 -07:00
2015-11-19 20:27:50 -07:00
2015-11-23 11:01:52 -05:00
2015-12-07 10:14:30 +01:00
2016-01-13 21:05:18 -05:00
2015-11-18 15:29:00 -05:00
2015-11-19 20:27:50 -07:00
2016-01-08 10:15:47 -05:00
2015-11-19 14:03:05 +01:00
2015-11-19 20:27:50 -07:00
2016-01-13 21:05:19 -05:00
2015-07-28 11:56:29 +02:00
2015-11-19 20:27:50 -07:00
2016-01-04 12:25:36 -05:00
2015-06-30 00:40:11 +05:30
2015-11-19 20:27:50 -07:00
2015-12-13 20:22:01 -05:00
2016-01-12 10:19:09 -07:00
2015-07-27 15:53:48 -07:00
2016-01-13 21:05:18 -05:00
2015-08-05 21:06:13 -06:00
2015-10-22 14:18:38 -04:00
2016-01-13 21:05:18 -05:00
2016-01-13 21:05:18 -05:00
2015-11-05 16:47:06 -05:00
2015-08-12 20:47:56 -04:00
2015-06-30 00:40:11 +05:30
2015-08-31 07:57:29 -06:00
2015-10-23 09:42:28 -06:00
2015-07-21 17:39:38 -06:00
2015-10-26 09:22:36 +01:00
2015-10-24 13:50:31 -04:00
2016-01-13 21:05:19 -05:00
2016-01-13 21:05:18 -05:00
2015-10-24 13:50:31 -04:00
2015-11-19 20:27:50 -07:00
2015-11-23 10:56:07 -05:00
2016-01-04 12:25:35 -05:00
2015-11-21 21:50:26 -05:00
2015-09-11 17:15:20 -04:00
2016-01-04 12:25:35 -05:00
2016-01-13 21:05:19 -05:00
2015-09-11 17:15:20 -04:00
2015-08-17 23:29:14 +05:30
2015-11-19 07:32:49 +01:00
2015-07-20 11:44:37 -07:00
2016-01-13 21:05:18 -05:00
2015-11-12 13:18:59 -05:00
2016-01-13 21:05:16 -05:00
2016-01-13 21:05:08 -05:00
2015-10-11 17:12:10 -04:00
2015-12-05 18:22:15 -05:00
2015-10-19 17:06:16 -04:00
2015-11-12 13:18:59 -05:00
2016-01-13 09:54:46 -05:00
2015-11-19 20:27:50 -07:00
2016-01-13 21:05:25 -05:00
2015-07-23 18:10:58 +02:00
2015-12-02 15:46:58 +01:00
2015-11-19 20:27:50 -07:00
2015-12-05 18:22:27 -05:00
2015-10-21 20:47:40 -04:00
2015-12-05 18:22:24 -05:00
2015-11-16 12:01:35 +01:00
2015-11-19 20:13:40 -07:00
2015-09-07 13:41:05 +02:00
2015-11-19 20:27:50 -07:00
2016-01-07 11:28:03 -07:00
2016-01-13 21:05:18 -05:00
2015-12-31 16:16:29 +01:00