Skip to content
Snippets Groups Projects
Select Git revision
  • 61b6e67171c602cf6451e4928c9cdcc24c57a485
  • master default
  • virtio-camera
  • venus
  • venus-rebased
  • virgl-blob-fixes
  • staging
  • stable-6.1
  • stable-6.0
  • stable-6.0-staging
  • stable-5.0
  • stable-4.2
  • stable-4.1
  • stable-4.0
  • stable-3.1
  • stable-3.0
  • stable-2.12
  • stable-2.11
  • stable-2.10
  • stable-2.9
  • stable-2.8
  • v7.1.0-rc2
  • v7.1.0-rc1
  • v7.1.0-rc0
  • v7.0.0
  • v7.0.0-rc4
  • v7.0.0-rc3
  • v7.0.0-rc2
  • v7.0.0-rc1
  • v7.0.0-rc0
  • v6.1.1
  • v6.2.0
  • v6.2.0-rc4
  • v6.2.0-rc3
  • v6.2.0-rc2
  • v6.2.0-rc1
  • v6.2.0-rc0
  • v6.0.1
  • v6.1.0
  • v6.1.0-rc4
  • v6.1.0-rc3
41 results

semihosting

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Peter Maydell authored and Alex Bennée committed
    The TARGET_SYS_TMPNAM implementation has two bugs spotted by
    Coverity:
     * confusion about whether 'len' has the length of the string
       including or excluding the terminating NUL means we
       lock_user() len bytes of memory but memcpy() len + 1 bytes
     * In the error-exit cases we forget to free() the buffer
       that asprintf() returned to us
    
    Resolves: Coverity CID 1490285, 1490289
    Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
    Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
    Message-Id: <20220719121110.225657-5-peter.maydell@linaro.org>
    Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
    Message-Id: <20220725140520.515340-10-alex.bennee@linaro.org>
    9b1268f5
    History
    Name Last commit Last update
    ..