diff options
-rw-r--r-- | os/access.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/os/access.c b/os/access.c index 5f485c92f..027925927 100644 --- a/os/access.c +++ b/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, ¬used, &alen, &from)) { |