diff options
| author | 2014-10-21 11:08:35 +0300 | |
|---|---|---|
| committer | 2014-11-05 13:19:21 -0800 | |
| commit | e8e6c875658c39624fc8cb4c6f3e1b6ab9ce1b6e (patch) | |
| tree | 3b0ec78a86b12a02755d091ce29b2ca08079931a /tools/perf/scripts | |
| parent | mtd: spi-nor: Add support for SST spi flash (diff) | |
| download | linux-dev-e8e6c875658c39624fc8cb4c6f3e1b6ab9ce1b6e.tar.xz linux-dev-e8e6c875658c39624fc8cb4c6f3e1b6ab9ce1b6e.zip | |
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 <dan.carpenter@oracle.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
