Bug in XRenderSetPictureFilter (libXRender - Filter.c:149)

Pierre-Loup Griffais pgriffais at nvidia.com
Thu Sep 27 18:52:47 PDT 2007

Hello all,

I spotted what seems to be a bug in libXrender, Filter.c.
Using Data32 to send the filter parameters to the server results in severe data truncation on 64-bit platforms: the XFixed type is 32-bit wide and Data32 only copies the less-meaningful 32-bit of each 64-bit word it gets to the request buffer.
Replacing that Data32 call by a regular Data one fixes it.

- Pierre-Loup Griffais

This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20070927/332b8123/attachment.html>

More information about the xorg mailing list