diff options
author | Eli Zaretskii <eliz@gnu.org> | 2025-02-15 13:15:36 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2025-02-15 13:15:36 +0200 |
commit | 0f768b8843bcdbbfa1c64aeee64d2de7d62c0d13 (patch) | |
tree | 169e8c187e3df855363bf1e5ddaa4cff7b4c07c3 /lisp/emacs-lisp | |
parent | c37e7cef42877e8222872ee6e00ecd8ab833d56b (diff) | |
download | emacs-0f768b8843bcdbbfa1c64aeee64d2de7d62c0d13.tar.gz emacs-0f768b8843bcdbbfa1c64aeee64d2de7d62c0d13.tar.bz2 emacs-0f768b8843bcdbbfa1c64aeee64d2de7d62c0d13.zip |
Prevent buffer overflow in line-numbering code
* src/xdisp.c (maybe_produce_line_number): Limit the value of
'display-line-numbers-width' to what can be shown in the window,
and set dimension of the lnum_buf[] accordingly. (Bug#75969)
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions