xserver: Branch 'server-1.5-branch'

Kristian Høgsberg krh at kemper.freedesktop.org
Wed Apr 2 09:04:39 PDT 2008


 hw/xfree86/dri2/dri2ext.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7d97c19c2d530c8db16b01de9b168dd910059b4e
Author: Xiang, Haihao <haihao.xiang at intel.com>
Date:   Wed Apr 2 16:29:30 2008 +1000

    dri2: fix crasher if DRI2Connect fails

diff --git a/hw/xfree86/dri2/dri2ext.c b/hw/xfree86/dri2/dri2ext.c
index ca2e029..d1d52a4 100644
--- a/hw/xfree86/dri2/dri2ext.c
+++ b/hw/xfree86/dri2/dri2ext.c
@@ -114,7 +114,7 @@ ProcDRI2Connect(ClientPtr client)
     ScreenPtr pScreen;
     int fd;
     const char *driverName;
-    char *busId;
+    char *busId = NULL;
     unsigned int sareaHandle;
 
     REQUEST_SIZE_MATCH(xDRI2ConnectReq);


More information about the xorg-commit mailing list