aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2022-08-19 16:39:28 +0100
committerPeter Maydell <peter.maydell@linaro.org>2022-09-22 16:38:28 +0100
commitfa87341dabebe79d2e5577432a98b83c9eddf968 (patch)
tree117c374d99a0c8c670dc70df3d0c61f75df2264c /ui
parent7650c8fe520c67c3b36f6962c4ad990f56ad40b8 (diff)
downloadqemu-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