mbox series

[0/4] semihosting: fix various coverity issues

Message ID 20220719121110.225657-1-peter.maydell@linaro.org
Headers show
Series semihosting: fix various coverity issues | expand

Message

Peter Maydell July 19, 2022, 12:11 p.m. UTC
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(-)

Comments

Alex Bennée July 25, 2022, 12:28 p.m. UTC | #1
Peter Maydell <peter.maydell@linaro.org> writes:

> This patchset fixes a handful of bugs in the semihosting code
> noticed by Coverity.

Queued to testing/next, thanks.