]> git.sur5r.net Git - u-boot/commit
common: command: tempory buffer should have size of command line buf
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 19 Nov 2017 22:07:50 +0000 (23:07 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 30 Nov 2017 03:30:50 +0000 (22:30 -0500)
commit2614a208471e0e82b1fd197fcd3f1ca7ecda969b
tree63a78f3fa3ad9577d767fd23e31c67cb7020960d
parent3cc566117e18f5b3fe3e79a593bee32703f83192
common: command: tempory buffer should have size of command line buf

When copying the command line buffer the target array should
at least have the same size.

Cf. definition of console_buffer in common/cli_readline.c.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
common/command.c