From swhite@corefiling.com Wed Jul 21 00:00:00 2010 From: Stephen White Date: Wed, 21 Jul 2010 00:00:00 +1000 Subject: Patch to fix Xvfb crash diff -Naur xorg-server-1.7.6.orig/mi/midispcur.c xorg-server-1.7.6/mi/midispcur.c --- xorg-server-1.7.6.orig/mi/midispcur.c 2009-11-30 05:19:49.000000000 +0000 +++ xorg-server-1.7.6/mi/midispcur.c 2010-07-21 17:08:37.641598048 +0100 @@ -573,6 +573,8 @@ pScreenPriv = (miDCScreenPtr)dixLookupPrivate(&pScreen->devPrivates, miDCScreenKey); pBuffer = MIDCBUFFER(pDev); + if (!pBuffer) + return FALSE; pSave = pBuffer->pSave; pWin = WindowTable[pScreen->myNum];