[PATCH] render: Avoid infinite loops in alpha map handling (#23581)
Adam Jackson
ajax at nwnk.net
Tue May 11 07:45:54 PDT 2010
On Mon, 2010-05-10 at 13:34 -0700, Keith Packard wrote:
> 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.
That's also fair, and trivial. I've updated the protocol spec to
reflect this; new xserver patch coming shortly.
- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100511/0dac2b9e/attachment.pgp>
More information about the xorg-devel
mailing list