]> git.ipfire.org Git - thirdparty/qemu.git/commit
ui: reject extended clipboard message if not activated
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 15 Jan 2024 09:51:19 +0000 (09:51 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 20 Feb 2024 15:45:20 +0000 (18:45 +0300)
commit4fd56da3370a7ad009a0a960e722991c9927d890
treeb0a6d1603e5126f9e3eadaaa914981b718a3d6df
parent0b30735d3807640587c2bc9b19ab274e0f8eef57
ui: reject extended clipboard message if not activated

The extended clipboard message protocol requires that the client
activate the extension by requesting a psuedo encoding. If this
is not done, then any extended clipboard messages from the client
should be considered invalid and the client dropped.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20240115095119.654271-1-berrange@redhat.com>
(cherry picked from commit 4cba8388968b70fe20e290221dc421c717051fdd)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
ui/vnc.c