Searched hist:aba594da9645aa6bdb4e2729df2755c186023ca3 (Results 1 – 1 of 1) sorted by relevance
/qemu/target/ppc/ |
H A D | kvm.c | aba594da9645aa6bdb4e2729df2755c186023ca3 Wed Feb 21 16:26:34 UTC 2024 Thomas Huth <thuth@redhat.com> target/ppc/kvm: Replace variable length array in kvmppc_save_htab()
To be able to compile QEMU with -Wvla (to prevent potential security issues), we need to get rid of the variable length array in the kvmppc_save_htab() function. Replace it with a heap allocation instead.
Message-ID: <20240221162636.173136-2-thuth@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
|