Null cursor data crash
Brought to you by:
mfucci
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)