From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#27779: #27779; C stack overflow from `read' on deeply nested lisp object. Date: Wed, 01 May 2019 22:30:17 -0400 Message-ID: <87ftpxoafa.fsf@gmail.com> References: <20180606210439.b2hw5gx66ahiwube@odonien.localdomain> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="235113"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: Keith David Bershatsky , Noam Postavsky , Paul Eggert , 27779@debbugs.gnu.org To: Vasilij Schneidermann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 02 04:31:23 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hM1VK-000yx3-FU for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 May 2019 04:31:22 +0200 Original-Received: from localhost ([127.0.0.1]:44051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hM1VJ-0000Fc-7x for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 May 2019 22:31:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hM1VB-0000FW-Ab for bug-gnu-emacs@gnu.org; Wed, 01 May 2019 22:31:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hM1V8-0005NT-VI for bug-gnu-emacs@gnu.org; Wed, 01 May 2019 22:31:12 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60004) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hM1V0-0005DI-OH for bug-gnu-emacs@gnu.org; Wed, 01 May 2019 22:31:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hM1V0-0000K1-Ej for bug-gnu-emacs@gnu.org; Wed, 01 May 2019 22:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 May 2019 02:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27779 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 27779-submit@debbugs.gnu.org id=B27779.15567642291196 (code B ref 27779); Thu, 02 May 2019 02:31:02 +0000 Original-Received: (at 27779) by debbugs.gnu.org; 2 May 2019 02:30:29 +0000 Original-Received: from localhost ([127.0.0.1]:45314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hM1UT-0000JD-Hk for submit@debbugs.gnu.org; Wed, 01 May 2019 22:30:29 -0400 Original-Received: from mail-qt1-f181.google.com ([209.85.160.181]:45369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hM1UR-0000J0-2w for 27779@debbugs.gnu.org; Wed, 01 May 2019 22:30:27 -0400 Original-Received: by mail-qt1-f181.google.com with SMTP id t1so111017qtc.12 for <27779@debbugs.gnu.org>; Wed, 01 May 2019 19:30:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=YFWKCR+jIo/DYMCxJDozi+uvjHP1N3r4qgIyPqcHOC8=; b=HH1R5ygcbXLZNkGmfp7yXkQdF2f+h0kfyTqCXY7B2De3VMvgX7eiMwG7/2bvaYf2NJ djrMYe6yMfXqoJsjjnA7R5c76A4dmEx4zev24yUkQj5cBiEoCPcD2Fp1ezpEuGzxaMBC S8cO0TBIKhSyukT8MCUmE8DKqver/9IaxGpbCeaBIsNVIbPKCZZBrtzW04UuanIVef5n gYxEE0tmGbqMXEAAypHnfIQbJO/fA49YW8mSCy/o7Ot6wG8jOQvY6JvKCccf2G1FqR9v kDoFZUY3pUzUWYyYKBSNznWBg2uubqKkFJP63Gbib42bOcFgvRdaD8YLyuL9k3ZdV3uV Dp/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=YFWKCR+jIo/DYMCxJDozi+uvjHP1N3r4qgIyPqcHOC8=; b=qLA04V3fVSN60tw7sDQYFKq2U1fqQgww8dKjcYX7iNIXT2njlJgLMHAURHh9JFR1U6 bxHHpFN5/aAO/fq/mubj05JXUi0yQRKT7WAL4Wsc4zx9daiqMPRGKO7vzz2nxv1BH5p4 H3SX3qKuEg+gcriSwlUhVAgcPjqTSkWTTF/2JKfII3mBjkyw5cAGtlU1QBGLa7g6SB97 ZF4gUkVzOiK1fzsbRhJe6u2XG9mDsIukeWJehAlxe8nVZw2WQrwP20tGNfyCOIIL4D7B 7blHk/WzphaVIpgwBaM/FSJZPWoVGUfUBQEmoMfmuqRibdNP8jlHipgcy6j2XH6L3Aiy KRiw== X-Gm-Message-State: APjAAAVIRMl+bpOEwidgee20MReJWUGQodmi6u0VuOmpSIGCVMsrxX08 u5YgfmZhPFEqMeaqQqJ8ofErxkp7 X-Google-Smtp-Source: APXvYqxNasLKCeCGZKaO836jTgRr8cnKwpzy/coU+r6VRMEUpOxWgpCcraI4lrd5KJeWlkeSKe5p5A== X-Received: by 2002:a0c:9592:: with SMTP id s18mr1158568qvs.204.1556764220378; Wed, 01 May 2019 19:30:20 -0700 (PDT) Original-Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id p19sm15443645qtp.19.2019.05.01.19.30.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 May 2019 19:30:18 -0700 (PDT) In-Reply-To: <20180606210439.b2hw5gx66ahiwube@odonien.localdomain> (Vasilij Schneidermann's message of "Wed, 6 Jun 2018 23:04:39 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:158614 Archived-At: Vasilij Schneidermann writes: > I've run into this issue today when loading up undo-tree on Emacs 26.1. I'm wondering if Paul's patch at https://debbugs.gnu.org/31995#21 (which is in Emacs 26.2) effectively fixes this for practical use of undo-tree history? That is, we know stack overflow is still possible for a sufficiently deep nested object, but that patch should make it possible for Emacs to read much deeper objects without overflowing.