1
0
forked from aniani/vim

patch 8.2.4938: crash when matching buffer with invalid pattern

Problem:    Crash when matching buffer with invalid pattern.
Solution:   Check for NULL regprog.
This commit is contained in:
Bram Moolenaar
2022-05-11 11:42:28 +01:00
parent ead241538c
commit a59f2dfd0c
3 changed files with 7 additions and 1 deletions

View File

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