summary refs log tree commit diff stats
path: root/rust/qemu-api
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2025-03-17 13:18:29 +1000
committerNicholas Piggin <npiggin@gmail.com>2025-03-20 19:55:13 +1000
commit344921309d933547974c2e85c52e2294513d9c45 (patch)
tree0e2b681cf419109808fb03c95c4b1be9392899dc /rust/qemu-api
parent033a5649b45690d09bde5cdf15cb83453f6ac811 (diff)
downloadfocaccia-qemu-344921309d933547974c2e85c52e2294513d9c45.tar.gz
focaccia-qemu-344921309d933547974c2e85c52e2294513d9c45.zip
pnv/xive: Fix possible undefined shift error in group size calculation
Coverity discovered a potential shift overflow in group size calculation
in the case of a guest error. Add checks and logs to ensure a issues are
caught.

Make the group and crowd error checking code more similar to one another
while here.

Resolves: Coverity CID 1593724
Fixes: 9cb7f6ebed60 ("ppc/xive2: Support group-matching when looking for target")
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions