[PATCH] render: Avoid infinite loops in alpha map handling (#23581)

Keith Packard keithp at keithp.com
Mon May 10 13:34:50 PDT 2010


On Mon, 10 May 2010 15:34:53 -0400, Adam Jackson <ajax at redhat.com> wrote:
> Don't allow setting the alpha map of a picture to itself, or to a
> picture that already has an alpha map, to prevent cycles.
> 
> Signed-off-by: Adam Jackson <ajax at redhat.com>

I'd say that setting an alpha-map to a picture with an alpha-map should
use that alpha-map, and setting alpha-map to itself should clear the
alpha-map pointer.

-- 
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/20100510/5772a390/attachment.pgp>


More information about the xorg-devel mailing list