Avoid crash with C-g C-g in GC
commit059184e645037c947528ef4d8d512f6997613be2
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Sep 2017 05:01:56 +0000 (17 22:01 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Sep 2017 05:03:00 +0000 (17 22:03 -0700)
tree0554e5544c7ed80a6f79d3d4520f3e0c2aef8e78
parent541006c53623cb5fb7dfae475baae5d64fc6e9d0
Avoid crash with C-g C-g in GC

Problem reported by Richard Stallman (Bug#17406).
Based on fix suggested by Eli Zaretskii (Bug#28279#16).
* src/term.c (tty_send_additional_strings):
Use only safe accessors, to avoid crash when C-g C-g in GC.
src/term.c