From: Dan Carpenter Date: Tue, 21 Oct 2014 08:08:35 +0000 (+0300) Subject: mtd: intflmount: fix off by one error in INFTL_dumpVUchains() X-Git-Tag: omap-for-v3.19/fixes-rc1~56^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8e6c875658c39624fc8cb4c6f3e1b6ab9ce1b6e;p=pandora-kernel.git mtd: intflmount: fix off by one error in INFTL_dumpVUchains() The ->PUtable[] array has "->nb_blocks" number of elemetns so this comparison should be ">=" instead of ">". Otherwise it could result in a minor read beyond the end of an array. Signed-off-by: Dan Carpenter Signed-off-by: Brian Norris --- Reading git-diff-tree failed