[PATCH 1/3] Revert "EXA: Accumulate arbitrary number of glyphs without flushing."

Keith Packard keithp at keithp.com
Mon Nov 30 08:41:25 PST 2009


On Mon, 30 Nov 2009 13:17:51 +0100, Michel Dänzer <michel at 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.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/20091130/fc550edf/attachment.pgp 


More information about the xorg-devel mailing list