aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os/access.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-06-23 06:38:04 +0000
committermarha <marha@users.sourceforge.net>2010-06-23 06:38:04 +0000
commitc356d5298f18cd103ef7caad015d98d2022044ac (patch)
tree6eb4fe5cf11588223e1d1da94d5ed41ca5e6f96c /xorg-server/os/access.c
parent5bb359288aac7b23042dc168608f2ced46c851da (diff)
downloadvcxsrv-c356d5298f18cd103ef7caad015d98d2022044ac.tar.gz
vcxsrv-c356d5298f18cd103ef7caad015d98d2022044ac.tar.bz2
vcxsrv-c356d5298f18cd103ef7caad015d98d2022044ac.zip
xserver git update 23/6/2010
Diffstat (limited to 'xorg-server/os/access.c')
-rw-r--r--xorg-server/os/access.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xorg-server/os/access.c b/xorg-server/os/access.c
index 862d98a96..bce861d34 100644
--- a/xorg-server/os/access.c
+++ b/xorg-server/os/access.c
@@ -1123,6 +1123,11 @@ Bool LocalClient(ClientPtr client)
pointer addr;
register HOST *host;
+ if (!client->osPrivate)
+ return FALSE;
+ if (!((OsCommPtr)client->osPrivate)->trans_conn)
+ return FALSE;
+
if (!_XSERVTransGetPeerAddr (((OsCommPtr)client->osPrivate)->trans_conn,
&notused, &alen, &from))
{