bug in drivers/mtd/onenand/onenand_base.c?

Artem Bityutskiy dedekind at infradead.org
Thu Mar 22 06:34:29 EDT 2007

On Thu, 2007-03-22 at 12:36 +0300, Vitaly Wool wrote:
> The problem is, the entry of oobfree past the last valid 
> one should have length 0.
> Here it's not the case: all the entries are occupied by 
> OOB chunks. Therefore, once we get into a loop like
>         for (free = this->ecclayout->oobfree; free->length; ++free) {
> we might end up scanning past the real oobfree array.

We have this fixed in OneNAND.

Best regards,
Artem Bityutskiy (Битюцкий Артём)

More information about the linux-mtd mailing list