Fix infinite recursion under prettify-symbols-mode and linum-mode
commit14ea76af5f3596d48747c2437006f6e1abcb67a7
authorEli Zaretskii <eliz@gnu.org>
Mon, 7 Aug 2017 17:47:53 +0000 (7 20:47 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 7 Aug 2017 17:47:53 +0000 (7 20:47 +0300)
tree2e0d0478d0fc77f416e30d4f7a5707e289fa7a5f
parent2d76cf947972ed95519cbb7c2141ed2f414d7179
Fix infinite recursion under prettify-symbols-mode and linum-mode

* src/xdisp.c (get_overlay_strings_1)
(handle_single_display_spec, push_prefix_prop): Invalidate the
composition information before starting to iterate on a string.
Otherwise we might think in set_iterator_to_next that we are
delivering characters from a composition, and do all kinds of
nonsensical things, like over-step the string end.  (Bug#27761)
src/xdisp.c