mbox series

[PATCH-for-8.1,0/3] target/mips/mxu: Fix overruns

Message ID 20230712060806.82323-1-philmd@linaro.org
Headers show
Series target/mips/mxu: Fix overruns | expand

Message

Philippe Mathieu-Daudé July 12, 2023, 6:08 a.m. UTC
Fix overruns mxu_gpr[XRb - 1] reported by Coverity.

Philippe Mathieu-Daudé (3):
  target/mips/mxu: Replace magic array size by its definition
  target/mips/mxu: Avoid overrun in gen_mxu_S32SLT()
  target/mips/mxu: Avoid overrun in gen_mxu_q8adde()

 target/mips/tcg/mxu_translate.c | 36 +++++++++++++++++++++++----------
 1 file changed, 25 insertions(+), 11 deletions(-)

Comments

Richard Henderson July 12, 2023, 6:13 a.m. UTC | #1
On 7/12/23 07:08, Philippe Mathieu-Daudé wrote:
> Fix overruns mxu_gpr[XRb - 1] reported by Coverity.
> 
> Philippe Mathieu-Daudé (3):
>    target/mips/mxu: Replace magic array size by its definition
>    target/mips/mxu: Avoid overrun in gen_mxu_S32SLT()
>    target/mips/mxu: Avoid overrun in gen_mxu_q8adde()

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~