[PATCH] [MTD] [NAND] Correctly validate out-of-band offset and length
David Woodhouse
dwmw2 at infradead.org
Fri Feb 9 10:02:55 EST 2007
On Wed, 2007-01-31 at 17:58 +0200, Adrian Hunter wrote:
> Add checks to ensure that out-of-band reads and writes are
> not attempted with an invalid offset or length. Specifically,
> the offset must be less than the size of oob for a page
> and the length must not go beyond the size of the device.
> Additionally the checks must adjust for auto-placement
> (MTD_OOB_AUTO) of oob data.
>
> Signed-off-by: Adrian Hunter <ext-adrian.hunter at nokia.com>
Applied; thanks.
--
dwmw2
More information about the linux-mtd
mailing list