[PATCH] Fix overflow checking extension versions

Keith Packard keithp at keithp.com
Thu May 22 20:49:34 PDT 2014


Robert Ancell <robert.ancell at canonical.com> writes:

> I changed it to 32 bits because (at least) RANDR uses 32 bits for each
> version number [1]:
>
> RRQueryVersion
> client-major-version: CARD32
> client-minor-version: CARD32
>> major-version: CARD32
> minor-version: CARD32
>
> This was the request I was sending where X said it supported RANDR
> 4294967295.4294967295.

Oh. Awesome. So forward thinking of me :-)

Reviewed-by: Keith Packard <keithp at keithp.com>

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


More information about the xorg-devel mailing list