Menu

#4 Null cursor data crash

open
nobody
None
5
2010-02-10
2010-02-10
No

Occasionally a VNC server will send null data for a rich cursor encoding frame buffer rectangle. Currently width & height in the EncodingCursor class are used to provision a new BitmapData obj, which works fine until values of 0 & 0 are passed in. This causes a crash. The getReader method should instead check for width and height of 0, and if detected, hide the cursor (I think thats how tightVNC handles it)

Discussion

MongoDB Logo MongoDB