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

Brian Norris
2014-11-05T21:20:08Z

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@oracle.com>

Pushed to l2-mtd.git.

Brian