]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1766: Vim9: some functions do not handle null_string correctly v9.1.1766
authorYegappan Lakshmanan <yegappan@yahoo.com>
Tue, 16 Sep 2025 19:19:42 +0000 (19:19 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 16 Sep 2025 19:19:42 +0000 (19:19 +0000)
commitafa2a81a88d123d4c39a75bddfc41559b81188b2
tree501416ca441b2b691660dff398d6db6a0092e8bf
parent0b7d094d70eaeb2dbb1288144c28ad2a6fd05902
patch 9.1.1766: Vim9: some functions do not handle null_string correctly

Problem:  Vim9: some Vim9 functions do not handle null_string correctly
          and may crash Vim (kennypete).
Solution: Check for null_string correctly in the searchpair() and
          substitute() functions (Yegappan Lakshmanan).

fixes: #18309
closes: #18311

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_vim9_builtin.vim
src/version.c
src/vim9expr.c