From: nobu.nokada@... Date: 2002-09-04T00:04:18+09:00 Subject: Re: Should we check alloca ret val? Hi, At Tue, 3 Sep 2002 20:35:26 +0900, Michal Rokos wrote: > I went through ALLOCA_N use and it seems that the ret val of > alloca() is never checked... > > Shouldn't we do something like: if (!mem) raise_something()? (I > know that it is a slowdown, but we can catch few segfaults by > this...) If alloca() were failed, it doesn't always return NULL. -- Nobu Nakada