]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0438: Wrong Ex command executed when :g uses '?' as delimiter v9.1.0438
authorzeertzjq <zeertzjq@outlook.com>
Fri, 24 May 2024 05:37:36 +0000 (07:37 +0200)
committerChristian Brabandt <cb@256bit.org>
Fri, 24 May 2024 05:37:36 +0000 (07:37 +0200)
commit3074137542961ce7b3b65c14ebde75f13f5e6147
tree12cad0d7a73be217e53beac7b89e20896ba732e7
parent22ac941208fcb2c63ad172c6cf0b39b077b5b682
patch 9.1.0438: Wrong Ex command executed when :g uses '?' as delimiter

Problem:  Wrong Ex command executed when :g uses '?' as delimiter and
          pattern contains escaped '?'.
Solution: Don't use "*newp" when it's not allocated (zeertzjq).

closes: #14837

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