Roel Kluin c6f7e7beb9 mtd: tests: fix read buffer overflows
Check whether index is within bounds before testing the element.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-09-04 09:40:17 +01:00
..
2009-06-05 17:55:10 +01:00
2009-09-04 09:40:09 +01:00
2009-09-04 09:39:50 +01:00
2009-09-04 09:30:17 +01:00
2009-09-04 09:38:14 +01:00
2008-06-04 17:50:17 +01:00
2009-09-04 09:34:49 +01:00
2009-09-03 14:59:16 +01:00