wifipineapple-openwrt/target/linux/ixp4xx
John Crispin 794e4699e4 ixp4xx: Don't overwrite memory in wg302v1_fixup()
wg302v1_fixup() looks for the ATAG_CMDLINE atag, it doesn't find it and
so it takes the last atag in the list and overwrites non allocated
memory.

The side effects are corrupted vital data and a kernel that doesn't
boot. More details here https://dev.openwrt.org/ticket/18356

The fix appends the fixup to the command line and updates the atag only
when it finds it.

Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 14:09:19 +00:00
..
base-files/lib scripts: fix wrong usage of '==' operator 2014-10-14 12:21:11 +00:00
generic target/linux/*: more dead package cleanups 2014-07-10 20:05:43 +00:00
harddisk target/linux/*: kmod-fs-ext{2,3} RIP 2014-07-10 19:16:15 +00:00
image targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
patches-3.10 ixp4xx: Don't overwrite memory in wg302v1_fixup() 2014-11-19 14:09:19 +00:00
Makefile kernel: makefiles: make use of new var KERNEL_PATCHVER 2014-10-24 19:34:02 +00:00
config-3.10 linux: remove duplicated 3.10 symbols from target config files 2013-07-20 07:21:52 +00:00
modules.mk [ixp4xx] move ixp4xx-eth to target specific modules.mk 2012-07-25 15:50:23 +00:00