[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Paul Smith
Subject: Re: Setting RLIMIT_STACK
Date: Mon, 19 Jul 2010 09:46:43 -0400

On Mon, 2010-07-19 at 11:29 +0200, Edward Welbourne wrote:
> > Probably there should be an effort to switch to heap for anything that
> > might get large and reserve alloca() usage just for things we know for a
> > fact will not get too large, but that hasn't been done.
> ... and anywhere you use a scanf variant, glibc is also using
> alloca(), without knowing any bound:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553206

Yes, unpleasant for sure.  Luckly GNU make doesn't use *scanf() much at
all and were it does only in fairly well-defined situations.

 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

[Prev in Thread] Current Thread [Next in Thread]