diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-04-09 11:21:18 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-04-09 11:21:18 +0300 |
commit | d5750af151853f13bf3481876d487741eebe36b7 (patch) | |
tree | f108736980edac8a3ec52d13309b804f60c6b137 /lisp/emacs-lisp/macroexp.el | |
parent | 18d1bc0a09db280cc1653706f7f8022786f77c94 (diff) | |
download | emacs-d5750af151853f13bf3481876d487741eebe36b7.tar.gz emacs-d5750af151853f13bf3481876d487741eebe36b7.tar.bz2 emacs-d5750af151853f13bf3481876d487741eebe36b7.zip |
Avoid assertion violation in intervals.c
* src/intervals.c (delete_interval): Allow negative values of
LENGTH (i). This happens when delete_interval is called from
set_intervals_multibyte_1, because the caller zeroes out the
total_length field of the interval to be deleted. See
https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg00131.html
for more details. See also a related old discussion at
https://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00399.html.
Diffstat (limited to 'lisp/emacs-lisp/macroexp.el')
0 files changed, 0 insertions, 0 deletions