emacs-devel
[Top][All Lists]
Advanced

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

Re: Preventing stack overflows with alloca.


From: Yoichi NAKAYAMA
Subject: Re: Preventing stack overflows with alloca.
Date: Tue, 26 Oct 2004 02:11:03 +0900
User-agent: Wanderlust/2.11.32 (Wonderwall) EMIKO/1.14.1 (Choanoflagellata) IMITATION/1.14.6 (一番搾り) APEL/10.6 Emacs/21.3.50 (i686-pc-linux-gnu) MULE/5.0 (賢木)

At Fri, 18 Jun 2004 20:13:24 +0900 (JST),
Kenichi Handa wrote:
> Date: Thu, 20 Nov 2003 22:01:20 +0900 (JST)
> From: Kenichi Handa <address@hidden>
> To: address@hidden
> Subject: dangerous alloca calls
> Sender: address@hidden
> 
> With CVS HEAD emacs on GNU/Linux,
>    (mapcar 'car (make-list #x400000 nil))
> causes segfault.
> 
> The attached patch fixes it.  But, I found such dangerous
> alloca calls in several other places.
> 
> E.g. (format (make-string #x1000000 32))
>      (apply 'car (make-list #x100000 nil))

With CVS HEAD emacs on GNU/Linux,
   (format (make-string #x1000000 32))
still causes segfault.

Regards,
-- 
Yoichi NAKAYAMA




reply via email to

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