summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2025-02-15 13:15:36 +0200
committerEli Zaretskii <eliz@gnu.org>2025-02-15 13:15:36 +0200
commit0f768b8843bcdbbfa1c64aeee64d2de7d62c0d13 (patch)
tree169e8c187e3df855363bf1e5ddaa4cff7b4c07c3 /lisp/emacs-lisp
parentc37e7cef42877e8222872ee6e00ecd8ab833d56b (diff)
downloademacs-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