Re: [U-Boot] [PATCH 15/30] riscv: treat undefined exception codes as reserved

2018-10-23 Thread Rick Chen
> > > 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 > > > --- > > > > > > arch/riscv/lib/interrupts.c | 8 ++-- > > > 1 file changed, 6

Re: [U-Boot] [PATCH 15/30] riscv: treat undefined exception codes as reserved

2018-10-22 Thread Bin Meng
On Sat, Oct 20, 2018 at 6:10 AM Lukas Auer wrote: > > 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 > --- > > arch/riscv/lib/interrupts.c | 8 ++-- > 1 file

[U-Boot] [PATCH 15/30] riscv: treat undefined exception codes as reserved

2018-10-19 Thread Lukas Auer
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 --- arch/riscv/lib/interrupts.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git