1
0
forked from aniani/vim

patch 8.2.4687: "vimgrep /\%v/ *" may cause a crash

Problem:    "vimgrep /\%v/ *" may cause a crash.
Solution:   When compiling the pattern with the old engine fails, restore the
            regprog of the new engine instead of leaving it NULL.
            (closes #10079)
This commit is contained in:
Bram Moolenaar
2022-04-04 18:14:34 +01:00
parent b471690fad
commit e8a4c0d91f
2 changed files with 13 additions and 3 deletions

View File

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