aboutsummaryrefslogtreecommitdiff
path: root/hw/9pfs/9p-posix-acl.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2017-06-29 15:11:51 +0200
committerGreg Kurz <groug@kaod.org>2017-06-29 15:11:51 +0200
commit06a37db7b12e4d42a6699c2fef820158f470ec4f (patch)
treef50eb6c26e1bc2804220dc34a95df560f0a06e09 /hw/9pfs/9p-posix-acl.c
parente08d1e11ed40b93e62ae8973159e6c1a306cd70e (diff)
9pfs: handle transport errors in pdu_complete()
Contrary to what is written in the comment, a buggy guest can misconfigure the transport buffers and pdu_marshal() may return an error. If this ever happens, it is up to the transport layer to handle the situation (9P is transport agnostic). This fixes Coverity issue CID1348518. Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'hw/9pfs/9p-posix-acl.c')
0 files changed, 0 insertions, 0 deletions