GNU bug report logs - #6214
23.1; json-read-string crashes emacs with long string

Previous Next

Package: emacs;

Reported by: Carl Worth <cworth <at> cworth.org>

Date: Tue, 18 May 2010 16:36:01 UTC

Severity: normal

Found in version 23.1

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 6214-done <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Carl Worth <cworth <at> cworth.org>
Cc: Notmuch mailing list <notmuch <at> notmuchmail.org>, 6214-done <at> debbugs.gnu.org,
	Dirk Hohndel <hohndel <at> infradead.org>
Subject: Re: bug#6214: 23.1; json-read-string crashes emacs with long string
Date: Tue, 18 May 2010 14:07:10 -0400
Carl Worth <cworth <at> cworth.org> writes:

> A user of the emacs-based mail client, Notmuch [*], found that
> attempting to display a particular message would consistently
> causes a segmentation fault in emacs.
>
> I haven't attempted to debug this within gdb yet, (I'll have to get my
> hands on a build of emacs with debugging symbols first). But I wanted to
> share things right away, so that perhaps someone else could do further
> debugging and follow up.

Looks like a stack overflow in the `string' function.  I've checked in a
fix, thanks for the bug report.




This bug report was last modified 14 years and 341 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.