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


Reply via email to