1
0
forked from aniani/vim

patch 8.2.5050: using freed memory when searching for pattern in path

Problem:    Using freed memory when searching for pattern in path.
Solution:   Make a copy of the line.
This commit is contained in:
Bram Moolenaar
2022-06-01 15:23:13 +01:00
parent 00e977cb83
commit 409510c588
3 changed files with 31 additions and 3 deletions

View File

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