ui: reject extended clipboard message if not activated
commit4cba8388968b70fe20e290221dc421c717051fdd
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 15 Jan 2024 09:51:19 +0000 (15 09:51 +0000)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 16 Feb 2024 13:27:22 +0000 (16 17:27 +0400)
tree59cb4acdb73d4caa951ce21ff95ad29aea7063ab
parent3ff11e4dcabe2b5b4c26e49d741018ec326f127f
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>
ui/vnc.c