diff options
author | John Crispin <blogic@openwrt.org> | 2014-11-19 14:09:19 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-11-19 14:09:19 +0000 |
commit | 794e4699e49c84cfeefcf18b2e7b843bf10ad19c (patch) | |
tree | 07c7f37726d69956f96c023db4e0bb55f2ffec18 /scripts/config | |
parent | c3d6194c74744adabfa83a02dc98319662a3e898 (diff) | |
download | upstream-794e4699e49c84cfeefcf18b2e7b843bf10ad19c.tar.gz upstream-794e4699e49c84cfeefcf18b2e7b843bf10ad19c.tar.bz2 upstream-794e4699e49c84cfeefcf18b2e7b843bf10ad19c.zip |
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
Diffstat (limited to 'scripts/config')
0 files changed, 0 insertions, 0 deletions