mirror of
https://github.com/qemu/qemu.git
synced 2024-12-15 23:43:31 +08:00
2eb71a0c20
We duplicate "cmd" as strtok may modify its argument, but we forgot to free it later. Furthermore, add_semihosting_arg doesn't take responsibility for this memory either (it strdup's the argument). Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <03d81c56bfc3d08224e4106efca5949d8894cfa5.1697801632.git.quic_mathbern@quicinc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20231029145033.592566-18-alex.bennee@linaro.org> |
||
---|---|---|
.. | ||
arm-compat-semi.c | ||
config.c | ||
console.c | ||
guestfd.c | ||
Kconfig | ||
meson.build | ||
syscalls.c | ||
uaccess.c |