diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2025-03-17 13:49:36 +1000 |
---|---|---|
committer | Nicholas Piggin <npiggin@gmail.com> | 2025-03-20 19:57:44 +1000 |
commit | 965797d19a0d0b5dbe73f1afa110576589d25003 (patch) | |
tree | 6e822e8ceebcf18ef4d633d753335c14737e7c3a /scripts/tracetool/backend/syslog.py | |
parent | e0b9357337e4005d7915d8c746eb3ce66c61fac0 (diff) | |
download | qemu-965797d19a0d0b5dbe73f1afa110576589d25003.zip qemu-965797d19a0d0b5dbe73f1afa110576589d25003.tar.gz qemu-965797d19a0d0b5dbe73f1afa110576589d25003.tar.bz2 |
ppc/spapr: Fix possible pa_features memory overflow
Coverity reports a possible memory overflow in spapr_dt_pa_features().
This should not be a true bug since DAWR1 cap is only be true for
CPU_POWERPC_LOGICAL_3_10. Add an assertion to ensure any bug there is
caught.
Resolves: Coverity CID 1593722
Fixes: 5f361ea187ba ("ppc: spapr: Enable 2nd DAWR on Power10 pSeries machine")
Reviewed-By: Shivaprasad G Bhat <sbhat@linux.ibm.com>
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