[PATCH] Xext: "xauth generate" with large timeout crashes Xorg #27134 .

Keith Packard keithp at keithp.com
Thu Apr 15 10:48:22 PDT 2010


On Thu, 15 Apr 2010 12:13:19 +0530, Arvind Umrao <Arvind.Umrao at Sun.COM> wrote:
> Second thought, after some more testing.  It seems your fixes are not 
> better than mine. When epoch time is GetTimeInMillis() -  
> (CARD32)(MAXINT),  ie  Sun Jan 10 2038 11:09:28 GMT+0530 (IST), security 
> authorization will expire with timeout reset to Zero.

Good testing. I'd suggest just reducing the timeout by a second to make the
initial timeout be greater than zero which should make the recomputed
timeout mechanism work.

> I thing we should start using CARD64 for storing millisecs.  What you 
> suggest?

I don't think this is really necessary.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100415/e1cee697/attachment-0001.pgp>


More information about the xorg-devel mailing list