diff options
author | Thomas Chou | 2010-07-30 14:12:12 +0800 |
---|---|---|
committer | Scott McNutt | 2010-08-19 22:15:49 -0400 |
commit | 62a05573822fc253a1ad5037482511347d6abaa5 (patch) | |
tree | 57a615421c5bc65a4496a7de576d0e3b01d9f080 /arch/nios2/cpu/cpu.c | |
parent | bd2313078114c4b44c4a5ce149af43bcb7fc8854 (diff) |
nios2: fix bootm error on fdt args
We should check argv[3] only if there are enough args. Otherwise,
it might cause invalid memory access fault.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
Diffstat (limited to 'arch/nios2/cpu/cpu.c')
0 files changed, 0 insertions, 0 deletions