]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0436: Crash when using '?' as separator for :s v9.1.0436
authorzeertzjq <zeertzjq@outlook.com>
Thu, 23 May 2024 15:41:26 +0000 (17:41 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 23 May 2024 15:41:26 +0000 (17:41 +0200)
commit789679cfc4f39505b135220672b43a260d8ca3b4
treee31f7adc916fabe18f381ca0a488cf7b756a991f
parentcd79f8fbd34cdb918153d9fa3821eb4092b7b5fc
patch 9.1.0436: Crash when using '?' as separator for :s

Problem:  Crash when using '?' as separator for :s and pattern contains
          escaped '?'s (after 9.1.0409).
Solution: Always compute startplen. (zeertzjq).

related: neovim/neovim#28935
closes: 14832

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