Skip to content

libvncserver: Add thread protection for updateBuf#607

Open
MichaelXie98 wants to merge 1 commit intoLibVNC:masterfrom
MichaelXie98:dev-thread-safety-for-updatebuf
Open

libvncserver: Add thread protection for updateBuf#607
MichaelXie98 wants to merge 1 commit intoLibVNC:masterfrom
MichaelXie98:dev-thread-safety-for-updatebuf

Conversation

@MichaelXie98
Copy link

Thread safety for updateBuf in rfbSendFramebufferUpdate. In multi-thread mode, different threads may modify cl->updateBuf and cl->ublen at same time. When this happends libvncserver may crash.

Thread safety for updateBuf in rfbSendFramebufferUpdate. In multi-thread
mode, different threads may modify cl->updateBuf and cl->ublen at same
time. When this happends libvncserver may crash.

Signed-off-by: Xinnan Xie <xiexinnan@bytedance.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant