forked from pool/xorg-x11-server
Stefan Dirsch
7e6a980b1f
Copy from home:oertel:branches:openSUSE:Factory/xorg-x11-server via accept of submit request 35298 revision 8. Request was accepted with message: reviewed ok. OBS-URL: https://build.opensuse.org/request/show/35298 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=229
19 lines
765 B
Diff
19 lines
765 B
Diff
From 5ed1510176b870fd6208e2f8561880c4abe6637d Mon Sep 17 00:00:00 2001
|
|
From: Egbert Eich <eich@linux-p1mv.site>
|
|
Date: Thu, 8 Oct 2009 12:40:55 +0200
|
|
Subject: [PATCH] Fix segfault when killing X with ctrl-alt-backspace.
|
|
|
|
The damage structure for the cursor is not deregistered before deallocation,
|
|
causing a subsequent DamageUnregister () to segfault.
|
|
================================================================================
|
|
--- xorg-server-1.7.99/mi/misprite.c
|
|
+++ xorg-server-1.7.99/mi/misprite.c
|
|
@@ -384,6 +384,7 @@
|
|
pScreen->InstallColormap = pScreenPriv->InstallColormap;
|
|
pScreen->StoreColors = pScreenPriv->StoreColors;
|
|
|
|
+ miSpriteDisableDamage(pScreen, pScreenPriv);
|
|
DamageDestroy (pScreenPriv->pDamage);
|
|
|
|
xfree (pScreenPriv);
|