From mboxrd@z Thu Jan 1 00:00:00 1970 From: Holger Brunck Date: Tue, 14 Aug 2012 16:23:39 +0200 Subject: [U-Boot] [PATCH] km/ivm: fix string len check to support 7 char board names In-Reply-To: <1344512583-11030-1-git-send-email-holger.brunck@keymile.com> References: <1344512583-11030-1-git-send-email-holger.brunck@keymile.com> Message-ID: <502A5F6B.6030806@keymile.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang, On 08/09/2012 01:43 PM, Holger Brunck wrote: > From: Valentin Longchamp > > 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. > > Signed-off-by: Valentin Longchamp > cc: Wolfgang Denk > --- > board/keymile/common/ivm.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > could you please drop this patch? It was posted twice by accident and the other (same) patch is running through Prafullas branch. http://patchwork.ozlabs.org/patch/177225/ Sorry for this. Regards Holger Brunck