Maarten Lankhorst <[email protected]> writes:

> Do not allow setting client version to an arbitrary value >= XIVersion.
> Fixes a test error with test/xi2/protocol-xiqueryversion.c, introduced by
> commit 4360514d1c "Xi: Allow clients to ask for 2.3 and then 2.2
> without failing"

Heh. My slow internet access caused me to write exactly the same patch
(as near as I can tell).

> -                client->errorValue = stuff->major_version;
> +                client->errorValue = major;


This should remain stuff->major_version -- we always send back the
client supplied data in the BadValue request (not that it really
matters, as no-one is likely to care, but...)

Other than that,

Reviewed-by: Keith Packard <[email protected]>


-- 
[email protected]

Attachment: pgpTyW9LdfVWS.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to