On Mon, 30 Nov 2009 13:17:51 +0100, Michel Dänzer <mic...@daenzer.net> wrote:

> Not sure what I was thinking, turns out alloca() of a size derived from client
> input is a bad idea.

That was the sole remaining use of alloca outside of the quartz
back-end.

As a reminder to others -- alloca should never be used in the X server;
it cannot be relied upon to return NULL on failure, doing various things
From crashing the application to overwriting other parts of the
application.

-- 
keith.pack...@intel.com

Attachment: pgpWwvJ0RxGNj.pgp
Description: PGP signature

_______________________________________________
xorg-devel mailing list
xorg-devel@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to