From swhite@corefiling.com Wed Feb 14 00:00:00 2011 From: Stephen White Date: Mon, 14 Feb 2011 00:00:00 +1000 Subject: Patch to fix Xvfb crash diff -Naur xorg-server-1.9.0.orig/mi/midispcur.c xorg-server-1.9.0/mi/midispcur.c --- xorg-server-1.9.0.orig/mi/midispcur.c.orig 2010-06-06 18:53:51.000000000 +0100 +++ xorg-server-1.9.0.orig/mi/midispcur.c 2011-02-14 16:14:51.224629877 +0000 @@ -491,6 +491,8 @@ pScreenPriv = (miDCScreenPtr)dixLookupPrivate(&pScreen->devPrivates, miDCScreenKey); pBuffer = miGetDCDevice(pDev, pScreen); + if (!pBuffer) + return FALSE; pSave = pBuffer->pSave; pWin = pScreen->root;