diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2006-11-06 15:29:17 -0500 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil> | 2006-11-06 15:29:17 -0500 |
commit | 0539d9cf2423fc0bed6f5c413beba3080f8abd85 (patch) | |
tree | 0116dd9a5d04e7409a6ea1108c14f5510f58ecc6 | |
parent | aa0261a98e9d5b1349b33e2639bd83c556dd4000 (diff) |
Bug #8875: Security extension causes Xorg to core dump on server reset
-rw-r--r-- | Xext/security.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Xext/security.c b/Xext/security.c index 54a2b3e3f..2a73b6066 100644 --- a/Xext/security.c +++ b/Xext/security.c @@ -1122,8 +1122,10 @@ CALLBACK(SecurityClientStateCallback) switch (client->clientState) { case ClientStateInitial: - TRUSTLEVEL(serverClient) = XSecurityClientTrusted; - AUTHID(serverClient) = None; + if (client == serverClient) { + TRUSTLEVEL(serverClient) = XSecurityClientTrusted; + AUTHID(serverClient) = None; + } break; case ClientStateRunning: |