android_kernel_xiaomi_sm8350/drivers/mtd/nand
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
..
ams-delta.c
at91_nand.c [MTD] NAND: Support for 16-bit bus-width on AT91. 2006-12-08 13:25:17 +00:00
au1550nd.c
autcpu12.c
cafe_ecc.c [MTD] Remove trailing whitespace 2006-11-30 08:17:38 +00:00
cafe.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2007-02-05 13:25:21 +00:00
cs553x_nand.c [MTD] Remove trailing whitespace 2006-11-30 08:17:38 +00:00
diskonchip.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
edb7312.c
h1910.c
Kconfig [MTD NAND] CAFÉ controller depends, perhaps unsurprisingly, on NAND 2007-02-05 13:32:55 +00:00
Makefile [MTD] NAND: CAFÉ NAND driver cleanup, fix ECC on reading empty flash 2006-10-22 15:09:33 +01:00
nand_base.c [MTD] [NAND] Correctly validate out-of-band offset and length 2007-02-09 15:02:40 +00:00
nand_bbt.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
nand_ecc.c [MTD] [NAND] fix ifdef option in nand_ecc.c 2006-11-29 00:11:39 +00:00
nand_ids.c
nandsim.c [MTD] nandsim: bugfix in page addressing 2006-12-08 13:22:54 +00:00
ndfc.c [MTD] [NAND] Fix endianess bug in ndfc.c 2006-11-28 22:22:55 +00:00
ppchameleonevb.c
rtc_from4.c [MTD] [NAND] Compile fix in rfc_from4.c 2006-12-01 09:59:49 +00:00
s3c2410.c [MTD] Remove trailing whitespace 2006-11-30 08:17:38 +00:00
sharpsl.c
spia.c
toto.c
ts7250.c