repositories
/
deb_xorg-server.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Imported Debian patch 2:1.15.1-0ubuntu2.6
[deb_xorg-server.git]
/
debian
/
patches
/
227_null_ptr_midispcur.patch
1
diff --git a/mi/midispcur.c b/mi/midispcur.c
2
index 24b9a70..266c7e0 100644
3
--- a/mi/midispcur.c
4
+++ b/mi/midispcur.c
5
@@ -466,6 +466,10 @@ miDCRestoreUnderCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
6
GCPtr pGC;
7
8
pBuffer = miGetDCDevice(pDev, pScreen);
9
+
10
+ if (!pBuffer)
11
+ return FALSE;
12
+
13
pSave = pBuffer->pSave;
14
15
pWin = pScreen->root;