[patch] mtd: off by one in INFTL_dumpVUchains()

Brian Norris computersforpeace at gmail.com
Wed Nov 5 13:20:08 PST 2014


On Tue, Oct 21, 2014 at 11:08:35AM +0300, Dan Carpenter wrote:
> 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 at oracle.com>

Pushed to l2-mtd.git.

Brian



More information about the linux-mtd mailing list