0
0
mirror of https://github.com/vim/vim.git synced 2025-10-08 06:04:08 -04:00

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.
This commit is contained in:
Bram Moolenaar
2023-05-09 21:15:30 +01:00
parent d1ae8366af
commit ab9a2d884b
3 changed files with 35 additions and 11 deletions

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1532,
/**/
1531,
/**/