From: Yoichi NAKAYAMA <yoichi@geiin.org>
Subject: Re: Preventing stack overflows with alloca.
Date: Tue, 26 Oct 2004 02:11:03 +0900 [thread overview]
Message-ID: <874qki4taw.wl%yoichi@geiin.org> (raw)
In-Reply-To: <200406181113.UAA03743@etlken.m17n.org>
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 <handa@m17n.org>
> To: emacs-devel@gnu.org
> Subject: dangerous alloca calls
> Sender: emacs-devel-bounces+handa=m17n.org@gnu.org
>
> 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
next prev parent reply other threads:[~2004-10-25 17:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-18 10:14 Preventing stack overflows with alloca Kim F. Storm
2004-06-18 11:13 ` Kenichi Handa
2004-06-18 12:02 ` Kim F. Storm
2004-06-19 0:19 ` Kenichi Handa
2004-06-19 3:19 ` Richard Stallman
2004-06-20 18:56 ` Kim F. Storm
2004-06-21 22:01 ` Kim F. Storm
2004-06-22 23:17 ` Richard Stallman
2004-10-25 17:11 ` Yoichi NAKAYAMA [this message]
2004-10-26 14:04 ` Kim F. Storm
2004-10-27 17:34 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874qki4taw.wl%yoichi@geiin.org \
--to=yoichi@geiin.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).