This patchset fixes a handful of bugs in the semihosting code noticed by Coverity.
thanks -- PMM Peter Maydell (4): semihosting: Don't return negative values on qemu_semihosting_console_write() failure semihosting: Don't copy buffer after console_write() semihosting: Check for errors on SET_ARG() semihosting: Fix handling of buffer in TARGET_SYS_TMPNAM semihosting/arm-compat-semi.c | 29 ++++++++++++++++++++++++----- semihosting/console.c | 3 ++- semihosting/syscalls.c | 2 +- 3 files changed, 27 insertions(+), 7 deletions(-) -- 2.25.1