aboutsummaryrefslogtreecommitdiff
path: root/slirp/tcp_input.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2017-11-06 19:39:10 +0100
committerStefan Berger <stefanb@linux.vnet.ibm.com>2017-12-14 23:39:14 -0500
commit8df4d8484f607d4973e66e93f2eba0b3f80c4238 (patch)
treef61c3ebad761b94a36d4c62186ef376c4c34f38f /slirp/tcp_input.c
parent9f7c0ef2ffa02b3bf6bc630496b8df67c750edd3 (diff)
downloadqemu-8df4d8484f607d4973e66e93f2eba0b3f80c4238.zip
qemu-8df4d8484f607d4973e66e93f2eba0b3f80c4238.tar.gz
qemu-8df4d8484f607d4973e66e93f2eba0b3f80c4238.tar.bz2
tpm-passthrough: make it safer to destroy after creation
Check fds values before closing, to avoid close(-1). Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'slirp/tcp_input.c')
0 files changed, 0 insertions, 0 deletions