diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-12-10 17:10:06 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-12-10 17:10:06 +0200 |
commit | 97c2bca729862ef5f50b03997e47b63b97b0d2c2 (patch) | |
tree | 4e1679f014b17835cdd2fdfe5b9d157824e40ea3 /test/lisp/emacs-lisp/bytecomp-resources | |
parent | 6596b5541dd147749e2091953ac77bcd73c8d404 (diff) | |
download | emacs-97c2bca729862ef5f50b03997e47b63b97b0d2c2.tar.gz emacs-97c2bca729862ef5f50b03997e47b63b97b0d2c2.tar.bz2 emacs-97c2bca729862ef5f50b03997e47b63b97b0d2c2.zip |
Avoid segfaults in pos_visible_p
* src/xdisp.c (pos_visible_p): Don't try accessing the glyphs
produced by iterator whose glyph_row was set to NULL; instead,
record the X coordinate before the display string when moving past
it, and use the recorded coordinate if needed. (Bug#45156)
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources')
0 files changed, 0 insertions, 0 deletions