From: Daniel Colascione <dancol@dancol.org>
To: Thien-Thi Nguyen <ttn@gnu.org>, 15344@debbugs.gnu.org
Cc: Lars Ljung <lars@matholka.se>
Subject: bug#15344: 24.3; Crash when yanking in c-mode
Date: Mon, 13 Jan 2014 05:59:33 -0800 [thread overview]
Message-ID: <52D3F145.7050107@dancol.org> (raw)
In-Reply-To: <87iotoknl5.fsf@zigzag.favinet>
On 01/13/2014 05:39 AM, Thien-Thi Nguyen wrote:
> Here is a script to make debugging easier:
Thanks. Does this patch have any unwanted side effects? It seems
perfectly reasonable to me that we could reach the end of the interval
tree without finding anything to modify or going past our bound.
=== modified file 'src/textprop.c'
--- src/textprop.c 2014-01-01 07:43:34 +0000
+++ src/textprop.c 2014-01-13 13:56:18 +0000
@@ -1741,6 +1741,8 @@
}
len -= LENGTH (i);
i = next_interval (i);
+ if (!i)
+ return Qnil;
}
}
next prev parent reply other threads:[~2014-01-13 13:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-11 19:15 bug#15344: 24.3; Crash when yanking in c-mode Lars Ljung
[not found] ` <handler.15344.B.137892696610333.ack@debbugs.gnu.org>
2013-09-13 20:53 ` bug#15344: Acknowledgement (24.3; Crash when yanking in c-mode) Lars Ljung
[not found] ` <mailman.2095.1379105663.10748.bug-gnu-emacs@gnu.org>
2013-09-14 9:31 ` Alan Mackenzie
2013-09-22 7:40 ` bug#15344: 24.3; Crash when yanking in c-mode Paul Eggert
2013-09-22 18:10 ` Lars Ljung
2013-10-10 21:18 ` Glenn Morris
2014-01-13 13:39 ` Thien-Thi Nguyen
2014-01-13 13:59 ` Daniel Colascione [this message]
2014-01-13 14:11 ` Daniel Colascione
2014-01-13 16:19 ` Eli Zaretskii
2014-01-13 18:33 ` Daniel Colascione
2014-01-13 23:42 ` bug#15344: Done Daniel Colascione
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52D3F145.7050107@dancol.org \
--to=dancol@dancol.org \
--cc=15344@debbugs.gnu.org \
--cc=lars@matholka.se \
--cc=ttn@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.