diff options
author | Thomas Huth <thuth@redhat.com> | 2024-02-21 17:26:34 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-02-23 08:13:52 +0100 |
commit | aba594da9645aa6bdb4e2729df2755c186023ca3 (patch) | |
tree | 756c6208ec8c2edd3e41b5d878e7cf9c0e63ac12 /scripts/qapi/parser.py | |
parent | 0e9a89193d06a3b03b1332c4115d8b822e5ab96c (diff) | |
download | qemu-aba594da9645aa6bdb4e2729df2755c186023ca3.zip qemu-aba594da9645aa6bdb4e2729df2755c186023ca3.tar.gz qemu-aba594da9645aa6bdb4e2729df2755c186023ca3.tar.bz2 |
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>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions