]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1532: crash when expanding "~" in substitute causes very long text v9.0.1532
authorBram Moolenaar <Bram@vim.org>
Tue, 9 May 2023 20:15:30 +0000 (21:15 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 9 May 2023 20:15:30 +0000 (21:15 +0100)
commitab9a2d884b3a4abe319606ea95a5a6d6b01cd73a
tree4677ba8a843e5bddcb87ee8b0a6a5ed62997b700
parentd1ae8366aff286d41e7f5bc513cc0a1af5130aad
patch 9.0.1532: crash when expanding "~" in substitute causes very long text

Problem:    Crash when expanding "~" in substitute causes very long text.
Solution:   Limit the text length to MAXCOL.
src/regexp.c
src/testdir/test_substitute.vim
src/version.c