commit | ae525d57f9654126170ca69ff8c6729bca04c13a | [log] [tgz] |
---|---|---|
author | Lukas Auer <lukas.auer@aisec.fraunhofer.de> | Thu Nov 22 11:26:21 2018 +0100 |
committer | Andes <uboot@andestech.com> | Mon Nov 26 13:57:30 2018 +0800 |
tree | 3cb9fc9d007445d6613de2304b4ec8966ba358fd | |
parent | 40f7eb500d03f823a76f475d8adf90051b17b4c5 [diff] |
riscv: treat undefined exception codes as reserved Undefined exception codes currently lead to an out-of-bounds array access. Prevent this by treating undefined exception codes as "reserved". Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Rick Chen <rick@andestech.com>