]> granicus.if.org Git - vim/commit
patch 8.2.1621: crash when using submatch(0, 1) in substitute() v8.2.1621
authorBram Moolenaar <Bram@vim.org>
Sun, 6 Sep 2020 13:14:45 +0000 (15:14 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 6 Sep 2020 13:14:45 +0000 (15:14 +0200)
commit8a0dcf43305586853f452a77fa295b0c8d54b463
treeccf2c0ebb8744b84c55ca4c199f4d56708b6f7d6
parent4140c4f3fff1a441f2837f2f911ab0f0368e412a
patch 8.2.1621: crash when using submatch(0, 1) in substitute()

Problem:    Crash when using submatch(0, 1) in substitute().
Solution:   Increment reference count. (closes #6887)
src/regexp.c
src/testdir/test_substitute.vim
src/version.c