diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2022-08-19 16:39:28 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-09-22 16:38:28 +0100 |
commit | fa87341dabebe79d2e5577432a98b83c9eddf968 (patch) | |
tree | 117c374d99a0c8c670dc70df3d0c61f75df2264c /ui | |
parent | 7650c8fe520c67c3b36f6962c4ad990f56ad40b8 (diff) | |
download | qemu-fa87341dabebe79d2e5577432a98b83c9eddf968.zip qemu-fa87341dabebe79d2e5577432a98b83c9eddf968.tar.gz qemu-fa87341dabebe79d2e5577432a98b83c9eddf968.tar.bz2 |
hw/i386/multiboot: Avoid dynamic stack allocation
Use autofree heap allocation instead of variable-length array on
the stack. Replace the snprintf() call by g_strdup_printf().
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20220819153931.3147384-9-peter.maydell@linaro.org
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions