1
0
xorg-x11-server/xorg-server-1.4-vnc-render_sig11.diff

13 lines
531 B
Diff

diff -u -r ../xorg-server-1.4.0.90.orig//hw/vnc/sprite.c ./hw/vnc/sprite.c
--- ../xorg-server-1.4.0.90.orig//hw/vnc/sprite.c 2008-05-16 08:53:40.000000000 +0000
+++ ./hw/vnc/sprite.c 2008-05-16 10:10:38.000000000 +0000
@@ -2017,7 +2017,7 @@
{
VNCSCREENPTR(pPict->pDrawable->pScreen);
- if (pPict->pDrawable->type == DRAWABLE_WINDOW)
+ if (pPict->pDrawable && pPict->pDrawable->type == DRAWABLE_WINDOW)
{
WindowPtr pWin = (WindowPtr) (pPict->pDrawable);
rfbSpriteScreenPtr pScreenPriv = (rfbSpriteScreenPtr)