1
0
forked from aniani/vim

patch 8.2.5024: using freed memory with "]d"

Problem:    Using freed memory with "]d".
Solution:   Copy the pattern before searching.
This commit is contained in:
Bram Moolenaar
2022-05-26 16:32:44 +01:00
parent 338f1fc0ee
commit e2fa213cf5
3 changed files with 14 additions and 0 deletions

View File

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