[Xquartz-dev] ALLOCATE_LOCAL / crashes

Jeremy Huddleston jeremyhu at berkeley.edu
Fri Dec 7 13:48:43 PST 2007

So... I wonder if we should do this across the board when compiling  
X.  Other things than the server use Xalloca.h.  I'm thinking I should  
put it in my standard CFLAGS.  Am I being overly cautious and  
paranoid, or is that something worth doing?


On Dec 6, 2007, at 21:07, Ben Byer wrote:

> So, it seems that ALLOCATE_LOCAL is responsible for at least some of  
> the "rootless crashes" we're seeing -- specifically, all of the ones  
> where the crash fell in any of the mi* functions.
> (My understanding is that ALLOCATE_LOCAL is more dangerous to use on  
> Leopard due to virtual memory layout -- it should never be used to  
> allocate more than about a kilobyte, and I just saw miFillPolyArc  
> crash by trying to allocate 900k.)
> http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commit;h=7caf51d1a5a86ae884e0087795636222c082962c
> --
> Ben Byer
> CoreOS / BSD Technology Group, XDarwin maintainer
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/xquartz-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3040 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20071207/e7d5d8f0/smime-0001.bin

More information about the Xquartz-dev mailing list