commit | c6f7e7beb9e6a64816f534a3a0dd0cfa4937f1fe | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Fri Jul 31 16:21:01 2009 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Fri Sep 04 09:40:17 2009 +0100 |
tree | c0fed3deeb9862dffac83ac45814e70341317c2e | |
parent | 269c0ee66367b11de9758ee64ea039843f0c7cad [diff] |
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>