Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 2A5184196F2 for ; Tue, 18 May 2010 11:16:36 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 1.448 X-Spam-Level: * X-Spam-Status: No, score=1.448 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_BRBL_LASTEXT=1.449] autolearn=no Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6NNWvOoOC3op for ; Tue, 18 May 2010 11:16:25 -0700 (PDT) Received: from pantheon-po17.its.yale.edu (pantheon-po17.its.yale.edu [130.132.50.73]) by olra.theworths.org (Postfix) with ESMTP id C40BF4196F3 for ; Tue, 18 May 2010 11:16:24 -0700 (PDT) Received: from furry (dhcp128036014213.central.yale.edu [128.36.14.213]) (authenticated bits=0) by pantheon-po17.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o4II7AfM031273 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 18 May 2010 14:07:10 -0400 Received: by furry (Postfix, from userid 1000) id A7B5AC057; Tue, 18 May 2010 14:07:10 -0400 (EDT) From: Chong Yidong To: Carl Worth Subject: Re: bug#6214: 23.1; json-read-string crashes emacs with long string References: <87pr0t5h1q.fsf@yoom.home.cworth.org> Date: Tue, 18 May 2010 14:07:10 -0400 In-Reply-To: <87pr0t5h1q.fsf@yoom.home.cworth.org> (Carl Worth's message of "Tue, 18 May 2010 09:08:17 -0700") Message-ID: <87fx1pkrsh.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Mailman-Approved-At: Mon, 24 May 2010 08:16:08 -0700 Cc: Notmuch mailing list , 6214-done@debbugs.gnu.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2010 18:16:36 -0000 Carl Worth 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.