LibVNC / libvncserver

LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program.
GNU General Public License v2.0
1.07k stars 481 forks source link

Framebuffer update of cursor-modified regions are sent even if client did not request them #586

Open bk138 opened 1 year ago

bk138 commented 1 year ago

https://github.com/LibVNC/libvncserver/blob/a06711e7fa9e47927007782cc9fe74e08313d1aa/src/libvncserver/cursor.c#L716 OR's the cursor region with the updateRegion in rfbSendFramebufferUpdate() which gets sent no matter what cl->requestedRegion is.

Spotted with SetUpdateRect() using {0,0,0,0} from 0e72da16493f0b994f9bb1277093608b869f53e4