diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-12-18 10:29:34 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-12-18 10:29:34 +0200 |
commit | 660e941235d0e4e8490d53ad06cdb1e5699634fa (patch) | |
tree | fbada1ae2efc6ee21889fee1f54e11c8b8482d1b /lisp/emacs-lisp/timer.el | |
parent | 0fc5fb2d054c2de17a3c2a3db9110312fa366cf9 (diff) | |
download | emacs-660e941235d0e4e8490d53ad06cdb1e5699634fa.tar.gz emacs-660e941235d0e4e8490d53ad06cdb1e5699634fa.tar.bz2 emacs-660e941235d0e4e8490d53ad06cdb1e5699634fa.zip |
Avoid crashes in PGTK build due to signal in 'note_mouse_highlight'
* src/xdisp.c (string_buffer_position): Make sure the TO argument
of 'string_buffer_position_lim' is always inside [BEGV..ZV].
Otherwise 'string_buffer_position_lim' might call
'get-char-property' and friends with invalid position, which will
just signal an error and do nothing useful. (Bug#60144)
Diffstat (limited to 'lisp/emacs-lisp/timer.el')
0 files changed, 0 insertions, 0 deletions