repositories
/
deb_xorg-server.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4b26c161b826b3f120be6a243a87fc58512aebee
[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;