Adrian Hunter 0373615579 [MTD] [NAND] Correctly validate out-of-band offset and length
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@nokia.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2007-02-09 15:02:40 +00:00
..
2007-01-26 13:50:58 -08:00
2007-01-23 11:09:49 -08:00
2006-12-10 09:55:40 -08:00
2006-12-07 08:39:24 -08:00
2007-01-06 09:32:49 -06:00
2007-01-15 06:44:03 +01:00
2007-02-02 11:52:05 -05:00
2006-12-11 13:49:53 +11:00
2006-10-17 08:18:42 -07:00
2006-12-08 08:28:57 -08:00
2007-02-03 20:37:37 -08:00
2006-12-13 09:05:48 -08:00
2006-12-08 08:28:50 -08:00
2006-12-10 09:57:22 -08:00
2006-12-10 09:57:22 -08:00