[PATCH 0/4] hw/intc/exynos4210_combiner: fix misc range check issues

Peter Maydell posted 4 patches 1 month ago
Failed in applying to current master (apply log)
include/hw/intc/exynos4210_combiner.h |  6 +++++-
hw/intc/exynos4210_combiner.c         | 25 +++++++------------------
2 files changed, 12 insertions(+), 19 deletions(-)
[PATCH 0/4] hw/intc/exynos4210_combiner: fix misc range check issues
Posted by Peter Maydell 1 month ago
This patchset's meat is patch 1, which fixes an incorrect range check
that allows us to index off the end of an array.  The other three are
cleanups that I noticed while fixing that, where some checks that we
were reporting as LOG_GUEST_ERROR should be "never happens" asserts,
and an array we use for register contents has an extra unreachable
element at the end.

thanks
-- PMM

Peter Maydell (4):
  hw/intc/exynos4210_combiner: Fix group register range check
  hw/intc/exynos4210_combiner: Clean up reg_set[] bounds checks
  hw/intc/exynos4210_combiner: Make reg_set[] only as large as it needs
    to be
  hw/intc/exynos4210_combiner: write default case is unreachable, not
    guest error

 include/hw/intc/exynos4210_combiner.h |  6 +++++-
 hw/intc/exynos4210_combiner.c         | 25 +++++++------------------
 2 files changed, 12 insertions(+), 19 deletions(-)

-- 
2.43.0
Re: [PATCH 0/4] hw/intc/exynos4210_combiner: fix misc range check issues
Posted by Richard Henderson 1 month ago
On 10/19/26 18:22, Peter Maydell wrote:
> Peter Maydell (4):
>    hw/intc/exynos4210_combiner: Fix group register range check
>    hw/intc/exynos4210_combiner: Clean up reg_set[] bounds checks
>    hw/intc/exynos4210_combiner: Make reg_set[] only as large as it needs
>      to be
>    hw/intc/exynos4210_combiner: write default case is unreachable, not
>      guest error

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

r~