summary refs log tree commit diff stats
path: root/util/coroutine-sigaltstack.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2021-01-11 10:49:56 +0100
committerGreg Kurz <groug@kaod.org>2021-01-21 17:49:45 +0100
commitacef3f8b47060f05e13de5b615268c39b274aab0 (patch)
tree2fdf6504322ef3b22bf73aa890358e77e5bca936 /util/coroutine-sigaltstack.c
parentfef80ea073c4862bc9eaddb6ddb0ed970b8ad7c4 (diff)
downloadfocaccia-qemu-acef3f8b47060f05e13de5b615268c39b274aab0.tar.gz
focaccia-qemu-acef3f8b47060f05e13de5b615268c39b274aab0.zip
9pfs/proxy: Check return value of proxy_marshal()
This should always successfully write exactly two 32-bit integers.
Make it clear with an assert(), like v9fs_receive_status() and
v9fs_receive_response() already do when unmarshalling the same
header.

Fixes: Coverity CID 1438968
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <161035859647.1221144.4691749806675653934.stgit@bahia.lan>
Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'util/coroutine-sigaltstack.c')
0 files changed, 0 insertions, 0 deletions