[PATCH 0/4] semihosting: fix various coverity issues

Peter Maydell posted 4 patches 3 years, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220719121110.225657-1-peter.maydell@linaro.org
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>
semihosting/arm-compat-semi.c | 29 ++++++++++++++++++++++++-----
semihosting/console.c         |  3 ++-
semihosting/syscalls.c        |  2 +-
3 files changed, 27 insertions(+), 7 deletions(-)
[PATCH 0/4] semihosting: fix various coverity issues
Posted by Peter Maydell 3 years, 6 months ago
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
Re: [PATCH 0/4] semihosting: fix various coverity issues
Posted by Alex Bennée 3 years, 6 months ago
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.

-- 
Alex Bennée