diff options
author | John Crispin <john@openwrt.org> | 2014-11-19 14:09:19 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-11-19 14:09:19 +0000 |
commit | 83381c5c8fabe913f3a6966a7acacd44c429f6e8 (patch) | |
tree | 7834ba3e2c998abf05973e833269396549449a97 /target/linux/ixp4xx/generic | |
parent | da5001475c093f296248fe6842d9188d4f64fd4e (diff) | |
download | upstream-83381c5c8fabe913f3a6966a7acacd44c429f6e8.tar.gz upstream-83381c5c8fabe913f3a6966a7acacd44c429f6e8.tar.bz2 upstream-83381c5c8fabe913f3a6966a7acacd44c429f6e8.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>
SVN-Revision: 43320
Diffstat (limited to 'target/linux/ixp4xx/generic')
0 files changed, 0 insertions, 0 deletions