From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#24315: 25.1.50; re-search-forward errors with "Variable binding depth exceeds max-specpdl-size" Date: Sat, 03 Sep 2016 10:21:16 -0400 Message-ID: <87inudnjxf.fsf@users.sourceforge.net> References: <87twe6sx2g.fsf@users.sourceforge.net> <87poonoyer.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1472912538 24649 195.159.176.226 (3 Sep 2016 14:22:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 3 Sep 2016 14:22:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 24315@debbugs.gnu.org To: peder@klingenberg.no (Peder O. Klingenberg) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 03 16:22:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgBpl-0005tV-4z for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Sep 2016 16:22:13 +0200 Original-Received: from localhost ([::1]:46703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgBpi-0001IU-RX for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Sep 2016 10:22:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgBpd-0001Gg-1k for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2016 10:22:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgBpZ-0001gA-QK for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2016 10:22:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgBpZ-0001g6-MZ for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2016 10:22:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bgBpZ-0004hU-Id for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2016 10:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Sep 2016 14:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24315 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 24315-submit@debbugs.gnu.org id=B24315.147291246417999 (code B ref 24315); Sat, 03 Sep 2016 14:22:01 +0000 Original-Received: (at 24315) by debbugs.gnu.org; 3 Sep 2016 14:21:04 +0000 Original-Received: from localhost ([127.0.0.1]:48825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgBod-0004gA-OE for submit@debbugs.gnu.org; Sat, 03 Sep 2016 10:21:03 -0400 Original-Received: from mail-it0-f44.google.com ([209.85.214.44]:38509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgBob-0004fI-Mr; Sat, 03 Sep 2016 10:21:02 -0400 Original-Received: by mail-it0-f44.google.com with SMTP id c198so86233588ith.1; Sat, 03 Sep 2016 07:21:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=8OkiKIMpGxWmrqKDoLd6ISK1wIMYdaNGYbifMNiEK5Y=; b=H59/jHttiW2YDSyIIXK/WhR4ZhrAvGecEQPpK1PieoGy7twhO4jKQjrrkyqXJdOzkA rEe4uEa0pk5wqBOKSocnR7I1YW4hzYZn3L7FGNYgUMP6jB3HVSTaC907f15bf1mnKe1T M+FBBsB1694JeZKcN7Qp4bQe2+WvJPJMIMjjz76pgv6frBC2hOIPIEYdGFXDmN8GQX2a /urj3wxsrig1tfZ0b7uP78pQr9rqtGLVkTKEsA6yj6Vud/0mj8063zAMpNhfgS69iI3F 8JEOi+9zX9UKV/GbycTKGM8rUisKR0+N+O7LtIzwm9OyelqBA42OiV9bm1NLdjK1N74i qwng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=8OkiKIMpGxWmrqKDoLd6ISK1wIMYdaNGYbifMNiEK5Y=; b=Y5nYJMywzuNB7Odrfq3rY/DzMAT7CST7hk510kFaj/VXpDqNZzsa1pW/IhnicxpPTq i/1ISVm1ekOLOkxajrqgfg3jlmbYglaJ/KSsqnAH36XQ90A4gP6RoaWb/Qy6r+jwqwnP eJ1Z9kNbQSkxKlE95y5u/BEy7MHsNVMSvs/qptdZ3cCskffBACH504LsqLZy+O9xTJIG JU1ctYUhJ4Rf2Dx+YKG5RuLC/bDMKiQH48OhzSUbvGzD0HKPOXCyCCPnLnhzRuSJ4DZb PEsToQOFFs8hXlKeOASpbs43bSsRW5d9nv1mYREiisTstwSjaFwER/h2uSsYqF0H2O/5 uQ3g== X-Gm-Message-State: AE9vXwNaJCtfdWI///PI5P2V5SdyWnjxewGuZ6tHoTeRQNhvmkf5GB35gWSL7RzNF8pvpQ== X-Received: by 10.36.28.203 with SMTP id c194mr11534117itc.95.1472912455989; Sat, 03 Sep 2016 07:20:55 -0700 (PDT) Original-Received: from zony ([45.2.7.130]) by smtp.googlemail.com with ESMTPSA id z125sm1473303itc.0.2016.09.03.07.20.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 03 Sep 2016 07:20:55 -0700 (PDT) In-Reply-To: (Peder O. Klingenberg's message of "Fri, 02 Sep 2016 15:45:34 +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: 208.118.235.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:122885 Archived-At: # the new bug will be about the specdl error clone 24315 -1 # this bug is about the bad regex in icalendar retitle 24315 icalendar--read-element uses inefficient regexp quit peder@klingenberg.no (Peder O. Klingenberg) writes: > Updated patch attached. > [...] > Subject: [PATCH] Avoid crash in icalendar--read-element > > * lisp/calendar/icalendar.el (icalendar--read-element): Stop crashing > when parsing overly long event descriptions. (Bug#24315) Patch looks good, though I think the description shouldn't say "crash", since the problem is a regex stack overflow, which is just a normal Emacs error (I've figured out the reason why it's triggering max-specpdl-size instead of regex stack overflow in master, and will address it in a separate bug).