Fix bug #13743 with crashes due to recursive add-text-properties.
commit0248b0d70b891c952385daa787fb00c9bdd42935
authorEli Zaretskii <eliz@gnu.org>
Mon, 25 Feb 2013 16:13:42 +0000 (25 18:13 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 25 Feb 2013 16:13:42 +0000 (25 18:13 +0200)
treeaafa490dd844b91e713981f8fcbd78b29a0a304f
parentb5071fc755c4f287c7befba1150d91a985762ebd
Fix bug #13743 with crashes due to recursive add-text-properties.

 src/textprop.c (Fadd_text_properties, Fremove_text_properties)
 (Fremove_list_of_text_properties): Skip all of the intervals in
 the region between START and END that already have resp. don't
 have the requested properties, not just the first one.  Add
 assertions that the loop afterwards always modifies the
 properties.
src/ChangeLog
src/textprop.c