aboutsummaryrefslogtreecommitdiff
path: root/hw/9pfs/9p.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 /hw/9pfs/9p.c
parentfef80ea073c4862bc9eaddb6ddb0ed970b8ad7c4 (diff)
downloadqemu-acef3f8b47060f05e13de5b615268c39b274aab0.zip
qemu-acef3f8b47060f05e13de5b615268c39b274aab0.tar.gz
qemu-acef3f8b47060f05e13de5b615268c39b274aab0.tar.bz2
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 'hw/9pfs/9p.c')
0 files changed, 0 insertions, 0 deletions