]> source.dussan.org Git - tigervnc.git/commit
VNCSConnectionST clipboard functions should check state before access.
authorMark Mielke <mark.mielke@gmail.com>
Mon, 20 Feb 2023 05:38:52 +0000 (00:38 -0500)
committerPierre Ossman <ossman@cendio.se>
Tue, 28 Feb 2023 15:07:39 +0000 (16:07 +0100)
commit45bb7d8530317bc7df07335fda871f1fa60ba024
tree80cefa68dfcd9448b88e152ce64ecaf9062caf2f
parentf65fa6984e8219994b6577ef8b0567f23e97aaa8
VNCSConnectionST clipboard functions should check state before access.

Clipboard functions may run on connections that are not yet at
RFBSTATE_NORMAL. Due to recent hardening of the accessCheck() function,
it is important to validate that the state is RFBSTATE_NORMAL before
calling accessCheck().

Fixes #1599.

(cherry picked from commit 995f443ef74ae9e25b7be31c5a390df35159ef10)
common/rfb/VNCSConnectionST.cxx