summaryrefslogtreecommitdiffstats
path: root/linux-user/linux_loop.h
diff options
context:
space:
mode:
authorJim Meyering2012-10-04 13:09:53 +0200
committerAnthony Liguori2012-10-05 14:58:37 +0200
commit900cfbcac6fa689b5fc8d53b60c3ed39047b8a33 (patch)
treed6eb3eefd22570c57af1e056e705c1f3dc88ee88 /linux-user/linux_loop.h
parentppc: avoid buffer overrun: use pstrcpy, not strncpy (diff)
downloadqemu-900cfbcac6fa689b5fc8d53b60c3ed39047b8a33.tar.gz
qemu-900cfbcac6fa689b5fc8d53b60c3ed39047b8a33.tar.xz
qemu-900cfbcac6fa689b5fc8d53b60c3ed39047b8a33.zip
linux-user: remove two unchecked uses of strdup
Remove two uses of strdup (use g_path_get_basename instead), and add a comment that this strncpy use is ok. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Jim Meyering <meyering@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions