[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/3] Replace variable length arrays in ppc KVM code
From: |
Thomas Huth |
Subject: |
[PATCH 0/3] Replace variable length arrays in ppc KVM code |
Date: |
Wed, 21 Feb 2024 17:26:33 +0100 |
It would be good to enable -Wvla as an additional security feature
when compiling QEMU (see also Peter's explanation here:
https://lore.kernel.org/qemu-devel/20240125173211.1786196-1-peter.maydell@linaro.org/
).
There are currently only two spots with variable lengths arrays left,
so if we fix those, we can finally enable the -Wvla compiler switch.
Peter Maydell (1):
meson: Enable -Wvla
Thomas Huth (2):
target/ppc/kvm: Replace variable length array in kvmppc_save_htab()
target/ppc/kvm: Replace variable length array in kvmppc_read_hptes()
meson.build | 1 +
target/ppc/kvm.c | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
--
2.43.2
- [PATCH 0/3] Replace variable length arrays in ppc KVM code,
Thomas Huth <=