[U-Boot] [PATCH v1 1/1] fix: possible overflow when copying the string

2015-09-07 Thread Imran Zaman
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.za...@intel.com> --- common/cli_simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cli_simple.c b/

[U-Boot] [PATCH v1] fix: possible overflow when copying the string

2015-09-07 Thread Imran Zaman
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.za...@intel.com> --- common/cli_simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cli_simple.c b/