The ALLOCA(3) man-page mentions its "use is discouraged".
Replace few calls by a g_malloc()/g_new() ones.
Last call site is linux-user/.
Philippe Mathieu-Daudé (5):
bsd-user/syscall: Replace alloca() by g_new()
gdbstub: Constify GdbCmdParseEntry
gdbstub: Use fixed-size array in GdbCmdParseEntry instead of pointer
gdbstub: Replace alloca() by g_new()
target/ppc/kvm: Replace alloca() by g_malloc()
bsd-user/syscall.c | 3 +--
gdbstub.c | 24 +++++++++++++-----------
target/ppc/kvm.c | 10 +++++-----
3 files changed, 19 insertions(+), 18 deletions(-)
--
2.26.3