From: Roel Kluin Date: Fri, 31 Jul 2009 14:21:01 +0000 (+0200) Subject: mtd: tests: fix read buffer overflows X-Git-Tag: v2.6.32-rc1~160^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6f7e7beb9e6a64816f534a3a0dd0cfa4937f1fe;p=pandora-kernel.git mtd: tests: fix read buffer overflows Check whether index is within bounds before testing the element. Signed-off-by: Roel Kluin Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed