commit | 7e6478e7d4f2c4b607069bf488d57089a9d3244b | [log] [tgz] |
---|---|---|
author | Stefano Stabellini <sstabellini@kernel.org> | Tue May 09 12:04:52 2017 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jun 06 20:18:35 2017 +0200 |
tree | 6809c1027e660e2dc5d43f8af58b36cfabb73ddb | |
parent | fd563564222f308e1d86847efdec8555fb472536 [diff] |
Check the return value of fcntl in qemu_set_cloexec Assert that the return value is not an error. This issue was found by Coverity. CID: 1374831 Signed-off-by: Stefano Stabellini <sstabellini@kernel.org> CC: groug@kaod.org CC: pbonzini@redhat.com CC: Eric Blake <eblake@redhat.com> Message-Id: <1494356693-13190-2-git-send-email-sstabellini@kernel.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>