[Bugfix] Don't crash in TXImage::updateColourMap function due NULL pointer
dereference. Thanks to Jan Gorig for the patch.

Main problem is that DesktopWindow::setColourMapEntries starts timer and after
it expires it calls im->updateColourMap. During timer period format might be
changed to full color thus "tig" pointer dereferenced in updateColourMap()
becomes invalid.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4003 3789f03b-4d11-0410-bbf8-ca57d06f2519
1 file changed