]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.2159: screenpos() may crash with neg. column v9.0.2159
authorzeertzjq <zeertzjq@outlook.com>
Tue, 12 Dec 2023 15:43:44 +0000 (16:43 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 12 Dec 2023 15:43:44 +0000 (16:43 +0100)
commitec54af4e26952d954a4cc009f62c80ea01445d30
treec67884d7beeb230ecae90b348522c1ea1ac88504
parenta40e1687e757ea4aa41e84006c739f575db75703
patch 9.0.2159: screenpos() may crash with neg. column

Problem:  screenpos() may crash with neg. column
Solution: validate and correct column

closes: #13669

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