Fwd: [Xquartz-dev] ALLOCATE_LOCAL / crashes

Keith Packard keithp at keithp.com
Sat Dec 8 16:25:54 PST 2007

On Sat, 2007-12-08 at 12:29 -0800, Jeremy Huddleston wrote:
> Hi Keith,
> We've been having some trouble due to alloca(BIG) in the Xquartz  
> server.  Could you comment on the acceptability of something like Greg  
> suggests below?  Should we put it inside __APPLE__ ifdefs, or do you  
> think it would be good across the board?  Or do you have a better  
> solution we should think about?

Master has removed alloca for the X server -- it's insecure, and prone
to failure. Just use malloc.

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20071208/100e525f/attachment.bin

More information about the Xquartz-dev mailing list