diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2010-07-30 14:12:12 +0800 |
---|---|---|
committer | Scott McNutt <smcnutt@psyent.com> | 2010-08-19 22:15:49 -0400 |
commit | 62a05573822fc253a1ad5037482511347d6abaa5 (patch) | |
tree | 57a615421c5bc65a4496a7de576d0e3b01d9f080 /lib | |
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 'lib')
0 files changed, 0 insertions, 0 deletions