]> git.eshelyaron.com Git - emacs.git/commit
Another stability fix in 'lisp_string_width'
authorEli Zaretskii <eliz@gnu.org>
Fri, 28 May 2021 11:03:16 +0000 (14:03 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 28 May 2021 11:03:16 +0000 (14:03 +0300)
commit6d916bfb37d88a63663ad5777c8c3b83fbcfdbd0
treead25d1b4e092b0644df860752c1ed89a73867261
parent3fe2f482bd2c636934cfd8e8aa0a07631164831d
Another stability fix in 'lisp_string_width'

* src/character.c (lisp_string_width): Compute C pointer to data
of STRING immediately before using it, since STRING could be
relocated by GC triggered by processing compositions.  (Bug#48711)
src/character.c