diff options
author | Adrian Hunter <ext-adrian.hunter@nokia.com> | 2007-01-31 17:58:29 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-02-09 15:02:40 +0000 |
commit | 0373615579c7359dfd0bc66139c2e7bf67793480 (patch) | |
tree | c1d110a6abfd5bdbf11ac4bd126c30b8fa93dbd0 /Documentation/sgi-visws.txt | |
parent | cfa72397cf3a15f2841447440fd53980b3ecd624 (diff) |
[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>
Diffstat (limited to 'Documentation/sgi-visws.txt')
0 files changed, 0 insertions, 0 deletions