mtd: intflmount: fix off by one error in INFTL_dumpVUchains()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 21 Oct 2014 08:08:35 +0000 (11:08 +0300)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 5 Nov 2014 21:19:21 +0000 (13:19 -0800)
commite8e6c875658c39624fc8cb4c6f3e1b6ab9ce1b6e
tree3b0ec78a86b12a02755d091ce29b2ca08079931a
parentf02985b78550f5ee9d8d0603b21fd7d98ca58c1c
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>
drivers/mtd/inftlmount.c