libvncserver
libvncserver copied to clipboard
check if rfbProcessClientInitMessage() should lock cl->sendMutex
This at least calls rfbTightExtensionInit which calls rfbSendInteractionCaps which has rfbWriteExact.
Same holds true for rfbProcessClientSecurityType which calls
rfbHandleSecTypeTight
rfbSendTunnelingCaps
rfbSendAuthCaps
rfbProcessClientAuthType
rfbVncAuthSendChallenge
which has rfbWriteExact.
OTOH, clientOutput thread will not send anything until auth and init are completed. Or? Investigate!