linux/drivers/mtd
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
..
chips [MTD] Fix default timeouts for Intel NOR flash 2007-02-09 14:39:10 +00:00
devices Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2007-01-18 10:34:51 +11:00
maps [MTD] CK804XROM must depend on PCI 2007-02-09 11:40:06 +00:00
nand [MTD] [NAND] Correctly validate out-of-band offset and length 2007-02-09 15:02:40 +00:00
onenand [MTD] OneNAND: Select correct chip's bufferRAM for DDP 2007-02-09 09:42:42 +09:00
afs.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
cmdlinepart.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
ftl.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
inftlcore.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
inftlmount.c [MTD] Rework the out of band handling completely 2006-05-29 15:06:51 +02:00
Kconfig [MTD] add MTD_BLKDEVS Kconfig option 2006-11-29 16:58:15 +02:00
Makefile [MTD] add MTD_BLKDEVS Kconfig option 2006-11-29 16:58:15 +02:00
mtd_blkdevs.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
mtdblock_ro.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
mtdblock.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
mtdchar.c [MTD] return error code from get_mtd_device() 2006-11-29 17:06:38 +02:00
mtdconcat.c [MTD] NAND: add subpage write support 2006-11-29 17:03:52 +02:00
mtdcore.c [MTD] Use EXPORT_SYMBOL_GPL() for exported symbols. 2006-11-29 16:33:03 +00:00
mtdpart.c [MTD] NAND: add subpage write support 2006-11-29 17:03:52 +02:00
nftlcore.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
nftlmount.c [MTD] Rework the out of band handling completely 2006-05-29 15:06:51 +02:00
redboot.c [MTD] Support combined RedBoot FIS directory and configuration area 2006-12-08 13:28:26 +00:00
rfd_ftl.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2007-01-18 10:34:51 +11:00
ssfdc.c [MTD] Fix ssfdc blksize typo 2006-12-11 09:43:38 +00:00