board/matrix_vision/mvblx/sys_eeprom.c: fix buffer overflow
authorWolfgang Denk <wd@denx.de>
Thu, 6 Nov 2014 13:03:02 +0000 (14:03 +0100)
committerTom Rini <trini@ti.com>
Fri, 7 Nov 2014 21:27:08 +0000 (16:27 -0500)
commitcc87d18a6ec74180784a6b1cdafefeacd8eb1bf2
treeb18b650886b4a84e0d350f3127ae0b476171d2fd
parent1aaab00d8889d7a573f0f13480e274a390c26b06
board/matrix_vision/mvblx/sys_eeprom.c: fix buffer overflow

Fix error detected by cppcheck:

[board/matrix_vision/mvblx/sys_eeprom.c:353]: (error) Buffer is
accessed out of bounds.

Signed-off-by: Wolfgang Denk <wd@denx.de>
cc: Michael Jones <michael.jones@matrix-vision.de>
Acked-by: Michael Jones <michael.jones@matrix-vision.de>
board/matrix_vision/mvblx/sys_eeprom.c