summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorChristian Schoenebeck2020-02-08 09:24:19 +0100
committerGreg Kurz2020-02-08 09:24:19 +0100
commit2e2293c238d4daa791ab7ff60b326a322892df3a (patch)
tree789ab56f63b377415ef6c4b2044d6bd18b38785a /include/exec
parentMerge remote-tracking branch 'remotes/berrange/tags/misc-fixes-pull-request' ... (diff)
downloadqemu-2e2293c238d4daa791ab7ff60b326a322892df3a.tar.gz
qemu-2e2293c238d4daa791ab7ff60b326a322892df3a.tar.xz
qemu-2e2293c238d4daa791ab7ff60b326a322892df3a.zip
tests/virtio-9p: add terminating null in v9fs_string_read()
The 9p protocol sends strings in general without null termination over the wire. However for future use of this functions it is beneficial for the delivered string to be null terminated though for being able to use the string with standard C functions which often rely on strings being null terminated. Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com> Reviewed-by: Greg Kurz <groug@kaod.org> Message-Id: <52c84e2ce3bcafc2a38eed13b8c8e23bc1a8ecb9.1579567019.git.qemu_oss@crudebyte.com> Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions