diff options
author | 2024-01-05 16:09:52 +0000 | |
---|---|---|
committer | 2024-02-09 12:50:26 +0000 | |
commit | cb8ded0f6d919a61ef890be14b28e765fba81f66 (patch) | |
tree | 8d4f9c0332cf2a0b91b8fa8e3a78c68a73e3d5de /docs/conf.py | |
parent | docs: re-generate x86_64 ABI compatibility CSV (diff) | |
download | qemu-cb8ded0f6d919a61ef890be14b28e765fba81f66.tar.xz qemu-cb8ded0f6d919a61ef890be14b28e765fba81f66.zip |
chardev: close QIOChannel before unref'ing
The chardev socket backend will unref the QIOChannel object while
it is still potentially open. When using TLS there could be a
pending TLS handshake taking place. If the channel is left open
then when the TLS handshake callback runs, it can end up accessing
free'd memory in the tcp_chr_tls_handshake method.
Closing the QIOChannel will unregister any pending handshake
source.
Reported-by: jiangyegen <jiangyegen@huawei.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'docs/conf.py')
0 files changed, 0 insertions, 0 deletions