You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/ar71xx
Gabor Juhos 665bb27499 ar71xx: fix invalid pointer dereference in rb95x_nand_scan_fixup()
Since Linux 4.6, mtd->priv no longer points to the NAND specific
structure. Under 4.9 it contains NULL, thus using it to access
chip->options causes an invalid pointer dereference (FS#1200).

Update the code to use the mtd_to_nand() helper under 4.9 to obtain
the address of the chip specific data.

Fixes: 7bbf4117c6 ("ar71xx: Add kernel 4.9 support")
Signed-off-by: Gabor Juhos <juhosg@freemail.hu>
7 years ago
..
base-files ar71xx: Fix switch port numbering on MIkrotik RB951Ui-2nD and RB493G 7 years ago
files ar71xx: fix invalid pointer dereference in rb95x_nand_scan_fixup() 7 years ago
generic ar71xx: unify CONFIG_CMDLINE 7 years ago
image ar71xx: generate BR region-code factory image for TP-Link TL-WR940N 7 years ago
mikrotik ar71xx: add support for TP-Link TL-WR1043N v5 7 years ago
nand ar71xx: add support for TP-Link TL-WR1043N v5 7 years ago
patches-4.4 ar71xx: fix board detection with newer RouterBOOT versions 7 years ago
patches-4.9 ar71xx: fix board detection with newer RouterBOOT versions 7 years ago
Makefile ar71xx: use kernel 4.9 by default 7 years ago
config-4.4 ar71xx: add support for TP-Link TL-WR1043N v5 7 years ago
config-4.9 ar71xx: add support for TP-Link TL-WR1043N v5 7 years ago
modules.mk ar71xx: add LED driver NU801 9 years ago