]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0385: Integer overflow with "ze" and large 'sidescrolloff' v9.2.0385
authorzeertzjq <zeertzjq@outlook.com>
Tue, 21 Apr 2026 19:41:37 +0000 (19:41 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 21 Apr 2026 19:41:37 +0000 (19:41 +0000)
commit33f3965087b01dccf4382ed419d34799ffd66cd9
tree5c1e327a368f15d67e455cb66fac1d20652e615d
parent3918f3232f874b3c96f8bfccc5049711f16c252e
patch 9.2.0385: Integer overflow with "ze" and large 'sidescrolloff'

Problem:  Integer overflow with "ze" and large 'sidescrolloff'.
Solution: Check for overflow to avoid negative w_leftcol (zeertzjq).

closes: #20026

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/move.c
src/normal.c
src/testdir/test_normal.vim
src/version.c