Valentin Longchamp 62c9b9603e 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>
2012-09-03 17:32:58 +05:30
..
2011-10-15 22:20:36 +02:00
2011-11-27 19:44:21 +01:00
2011-03-27 19:18:37 +02:00
2012-02-12 15:03:25 -05:00
2011-10-15 22:20:36 +02:00
2012-03-28 23:41:18 +02:00
2012-04-01 21:37:53 +10:00
2011-10-15 22:20:36 +02:00
2011-10-15 22:20:36 +02:00
2012-02-27 21:19:25 +01:00
2011-10-15 22:20:36 +02:00
2011-10-15 22:20:36 +02:00
2012-03-26 23:09:23 +02:00
2011-10-15 22:20:36 +02:00
2011-10-15 22:20:36 +02:00
2012-02-12 15:03:25 -05:00
2011-10-15 22:20:36 +02:00
2011-10-15 22:20:36 +02:00
2012-09-01 14:58:19 +02:00
2011-10-15 22:20:36 +02:00
2012-03-30 07:43:33 +02:00