libvncserver icon indicating copy to clipboard operation
libvncserver copied to clipboard

check if rfbProcessClientInitMessage() should lock cl->sendMutex

Open bk138 opened this issue 5 years ago • 2 comments

This at least calls rfbTightExtensionInit which calls rfbSendInteractionCaps which has rfbWriteExact.

bk138 avatar Aug 07 '20 16:08 bk138

Same holds true for rfbProcessClientSecurityType which calls

rfbHandleSecTypeTight
   rfbSendTunnelingCaps
       rfbSendAuthCaps
          rfbProcessClientAuthType
             rfbVncAuthSendChallenge

which has rfbWriteExact.

bk138 avatar Aug 07 '20 16:08 bk138

OTOH, clientOutput thread will not send anything until auth and init are completed. Or? Investigate!

bk138 avatar Aug 07 '20 16:08 bk138