]> source.dussan.org Git - tigervnc.git/commit
VNCSConnectionST clipboard functions should check state before access. 1601/head
authorMark Mielke <mark.mielke@gmail.com>
Mon, 20 Feb 2023 05:38:52 +0000 (00:38 -0500)
committerMark Mielke <mark.mielke@gmail.com>
Mon, 20 Feb 2023 05:42:07 +0000 (00:42 -0500)
commit995f443ef74ae9e25b7be31c5a390df35159ef10
tree4ea277f71b7b3fb3e0a724f0c949c1f03931ca06
parent1e3484f2017f038dd5149cd50741feaf39a680e4
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.
common/rfb/VNCSConnectionST.cxx