Hi David,

On 4/7/23 17:12, Woodhouse, David via wrote:
Coverity points out (CID 1508128) a bounds checking error. We need to check
for gsi >= IOAPIC_NUM_PINS, not just greater-than.

Also fix up an assert() that has the same problem, that Coverity didn't see.

Signed-off-by: David Woodhouse <d...@amazon.co.uk>
---
  hw/i386/kvm/xen_evtchn.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>

Better to post new patches as new thread:

  Patches are easier to find if they start a new top-level thread,
  rather than being buried in-reply-to another existing thread.

(Per https://www.qemu.org/docs/master/devel/submitting-a-patch.html#use-git-format-patch)

Regards,

Phil.

Reply via email to