]> git.sur5r.net Git - u-boot/commit
cli_simple.c: fix possible overflow when copying the string
authorImran Zaman <imran.zaman@intel.com>
Mon, 7 Sep 2015 08:24:08 +0000 (11:24 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 15 Sep 2015 19:04:53 +0000 (15:04 -0400)
commitca7def6003d376eb50547c468167e10cb5c2b835
treec138d03e0bd7e99cfe9cb022fa598c5000dbbc2f
parentf458c8dac463d0a6037d4ecdbe59f07c4df34ad4
cli_simple.c: fix possible overflow when copying the string

Bigger source buffer than dest buffer could overflow when copying
strings.  Source and destination buffer sizes are same now.

Signed-off-by: Imran Zaman <imran.zaman@intel.com>
common/cli_simple.c