commit | e8b522b1df8b5874e08b53f6e5aef8a2c458446b | [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 | 5a441736b7dda7fd4dde0a2417aeab59a9ef9424 [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>