Hi,

I ran into a similar crash in xf86_reload_cursors and this patch
worked for me.

-jim

Index: xorg-server-1.6.5/hw/xfree86/modes/xf86Cursors.c
===================================================================
--- xorg-server-1.6.5.orig/hw/xfree86/modes/xf86Cursors.c       2009-11-29 
15:16:23.000000000 -0500
+++ xorg-server-1.6.5/hw/xfree86/modes/xf86Cursors.c    2009-11-29 
15:16:34.000000000 -0500
@@ -612,7 +612,7 @@
     cursor_screen_priv = dixLookupPrivate(&screen->devPrivates,
                                          xf86CursorScreenKey);
     /* return if HW cursor is inactive, to avoid displaying two cursors */
-    if (!cursor_screen_priv->isUp)
+    if (!cursor_screen || !cursor_screen_priv->isUp)
        return;
 
     scrn = xf86Screens[screen->myNum];



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to