]> git.eshelyaron.com Git - emacs.git/commit
Avoid crashes due to bidi cache being reset during redisplay
authorEli Zaretskii <eliz@gnu.org>
Sun, 31 May 2020 14:23:11 +0000 (17:23 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 31 May 2020 14:23:11 +0000 (17:23 +0300)
commit41232e679732fcd37fc56edda90035d6f98b591f
tree254f5bb4357132bebcf926d1e6f77f842d237002
parentf72bb4ce36686d814bbb540a7844f22570540bc8
Avoid crashes due to bidi cache being reset during redisplay

If automatic character composition triggers GC, and
'garbage-collection-messages' are turned on, we could have the
bidi cache reset while processing RTL text, which would then
consistently crash.
* src/xdisp.c (display_echo_area_1): Protect the bidi cache
against changes inside 'try_window'.
src/xdisp.c