summaryrefslogtreecommitdiff
path: root/board/renesas
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2014-11-06 14:03:03 +0100
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2014-11-10 09:39:09 +0900
commit44442c13ba2f63a67664ab5cc7ce6c2fe009e4a0 (patch)
tree66f273e5b0aa5873b7acaf36611316a086def603 /board/renesas
parent11ada9225a16ed2d8ddbf0715a2416245a777cbc (diff)
downloadu-boot-imx-44442c13ba2f63a67664ab5cc7ce6c2fe009e4a0.zip
u-boot-imx-44442c13ba2f63a67664ab5cc7ce6c2fe009e4a0.tar.gz
u-boot-imx-44442c13ba2f63a67664ab5cc7ce6c2fe009e4a0.tar.bz2
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/renesas')
-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 2804d91..d862d99 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);