any1 / neatvnc

A liberally licensed VNC server library with a clean interface
ISC License
118 stars 29 forks source link

Race condition during pixel format change #14

Open any1 opened 4 years ago

any1 commented 4 years ago

When the client request that the pixel format be changed, the server may be already encoding a frame which will be sent after the pixel format change. This causes problems for the client because it is expecting frames in the new format.

Note: This isn't particularly severe as most clients (with the exception of RealVNC) don't change the pixel format on the fly.