diff options
author | Valentin Longchamp <valentin.longchamp@keymile.com> | 2012-08-14 01:16:36 +0000 |
---|---|---|
committer | Prafulla Wadaskar <prafulla@marvell.com> | 2012-09-03 17:32:58 +0530 |
commit | 62c9b9603e2552d6b39985738a957b51b0367e72 (patch) | |
tree | 989770589c41cf1b8538bebe41200ec124ba0f4a /common/cmd_fdt.c | |
parent | 8203b201eaa1b33758956294b3ec70b326f8ba5c (diff) | |
download | u-boot-imx-62c9b9603e2552d6b39985738a957b51b0367e72.zip u-boot-imx-62c9b9603e2552d6b39985738a957b51b0367e72.tar.gz u-boot-imx-62c9b9603e2552d6b39985738a957b51b0367e72.tar.bz2 |
km/ivm: fix string len check to support 7 char board names
The fanless boards now have a 7-digit (XXXXX-F) board name. This
triggers a border condition when reading this string in the IVM although
this string is smaller than the currenly read string size, but only by 1
character.
This patch corrects this by changing the size check condition for string
length. It is the same change that was done in the platform for this
same bug.
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Holger Brunck <holger.brunck@keymile.com>
cc: Stefan Bigler <stefan.bigler@keymile.com>
Diffstat (limited to 'common/cmd_fdt.c')
0 files changed, 0 insertions, 0 deletions