CVS Update: xc (branch: trunk)
Egbert Eich
xorg-commit at pdx.freedesktop.org
Mon May 24 22:02:11 EEST 2004
CVSROOT: /cvs/xorg
Module name: xc
Changes by: eich at pdx. 04/05/24 12:02:11
Log message:
2004-05-24 Egbert Eich <eich at pdx.freedesktop.org>
* lib/X11/ConnDis.c: (GetAuthorization):
Improve 'uniqueness' of authorization cookie sent by client for
XDM-AUTHORIZATION-1. Old 'uniquness' consisted of the PID of the
client, a time stamp (in seconds) and a number obtained by starting
to count down from 0xffff. When a client did an XOpenDisplay() then
execv'ed a child and did XOpenDisplay() again within the same second,
the cookie was identical to the previous one (as the PID did not change
but the static 'count down' variable was reinitialized) and thus
refused by the server.
Modified files:
./:
ChangeLog
xc/lib/X11/:
ConnDis.c
Revision Changes Path
1.40 +13 -1 xc/ChangeLog
1.4 +10 -5 xc/lib/X11/ConnDis.c
More information about the xorg-commit
mailing list