10be627d2b
The TLS handshake make take some time to complete, during which time an I/O watch might be registered with the main loop. If the owner of the I/O channel invokes qio_channel_close() while the handshake is waiting to continue the I/O watch must be removed. Failing to remove it will later trigger the completion callback which the owner is not expecting to receive. In the case of the VNC server, this results in a SEGV as vnc_disconnect_start() tries to shutdown a client connection that is already gone / NULL. CVE-2023-3354 Reported-by: jiangyegen <jiangyegen@huawei.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> |
||
---|---|---|
.. | ||
channel-buffer.h | ||
channel-command.h | ||
channel-file.h | ||
channel-null.h | ||
channel-socket.h | ||
channel-tls.h | ||
channel-util.h | ||
channel-watch.h | ||
channel-websock.h | ||
channel.h | ||
dns-resolver.h | ||
net-listener.h | ||
task.h |