aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWolfgang Denk2014-11-06 14:03:03 +0100
committerNobuhiro Iwamatsu2014-11-10 09:39:09 +0900
commit44442c13ba2f63a67664ab5cc7ce6c2fe009e4a0 (patch)
tree66f273e5b0aa5873b7acaf36611316a086def603 /board
parent11ada9225a16ed2d8ddbf0715a2416245a777cbc (diff)
board/renesas/ecovec/ecovec.c: fix buffer overflow
Fix error detected by cppcheck: [board/renesas/ecovec/ecovec.c:66]: (error) Buffer is accessed out of bounds. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'board')
-rw-r--r--board/renesas/ecovec/ecovec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/renesas/ecovec/ecovec.c b/board/renesas/ecovec/ecovec.c
index 2804d9133da..d862d997e56 100644
--- a/board/renesas/ecovec/ecovec.c
+++ b/board/renesas/ecovec/ecovec.c
@@ -41,7 +41,7 @@ static void debug_led(u8 led)
int board_late_init(void)
{
u8 mac[6];
- char env_mac[17];
+ char env_mac[18];
udelay(1000);