aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorSébastien Hoffmann <contact@shoffmann.dev>2026-07-19 19:29:57 +0200
committerGitHub <noreply@github.com>2026-07-19 13:29:57 -0400
commit7ba955fe079d4aa2554fea8e7235651fafd40efb (patch)
tree4c30cad82ca294b226aa480e88c55eb526e69556 /test/functional/vimscript/executable_spec.lua
parent61abef356441c0914b5e6a0392c69f2b48d521fe (diff)
downloadrneovim-7ba955fe079d4aa2554fea8e7235651fafd40efb.tar.gz
rneovim-7ba955fe079d4aa2554fea8e7235651fafd40efb.tar.bz2
rneovim-7ba955fe079d4aa2554fea8e7235651fafd40efb.zip
fix(statusline): prevent integer overflow with huge item groups #40837
Problem: when PR #40621 removed a 50 cell restriction to item group minwid, a possible integer overflow was introduced when the added padding is multiplied with the number of fillchar bytes. Solution: when there is not enough buffer capacity left, reduce the number of added fillchars before calculating the number of added bytes.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions