summaryrefslogtreecommitdiffstats
path: root/ui/curses.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2022-08-19 17:39:28 +0200
committerPeter Maydell2022-09-22 17:38:28 +0200
commitfa87341dabebe79d2e5577432a98b83c9eddf968 (patch)
tree117c374d99a0c8c670dc70df3d0c61f75df2264c /ui/curses.c
parenthw/intc/xics: Avoid dynamic stack allocation (diff)
downloadqemu-fa87341dabebe79d2e5577432a98b83c9eddf968.tar.gz
qemu-fa87341dabebe79d2e5577432a98b83c9eddf968.tar.xz
qemu-fa87341dabebe79d2e5577432a98b83c9eddf968.zip
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/curses.c')
0 files changed, 0 insertions, 0 deletions