diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2025-03-17 13:18:29 +1000 |
---|---|---|
committer | Nicholas Piggin <npiggin@gmail.com> | 2025-03-20 19:55:13 +1000 |
commit | 344921309d933547974c2e85c52e2294513d9c45 (patch) | |
tree | 0e2b681cf419109808fb03c95c4b1be9392899dc /scripts/tracetool/backend/syslog.py | |
parent | 033a5649b45690d09bde5cdf15cb83453f6ac811 (diff) | |
download | qemu-344921309d933547974c2e85c52e2294513d9c45.zip qemu-344921309d933547974c2e85c52e2294513d9c45.tar.gz qemu-344921309d933547974c2e85c52e2294513d9c45.tar.bz2 |
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 'scripts/tracetool/backend/syslog.py')
0 files changed, 0 insertions, 0 deletions