Problem: Crash when matching buffer with invalid pattern.
Solution: Check for NULL regprog.
// First try the short file name, then the long file name.
match = fname_match(rmp, buf->b_sfname, ignore_case);
- if (match == NULL)
+ if (match == NULL && rmp->regprog != NULL)
match = fname_match(rmp, buf->b_ffname, ignore_case);
return match;
vsplit 0000000
silent! buf [0--]\&\zs*\zs*e
bwipe!
+
+ vsplit 00000000000000000000000000
+ silent! buf [0--]\&\zs*\zs*e
+ bwipe!
endfunc
" Test for the 'maxmem' and 'maxmemtot' options
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 4938,
/**/
4937,
/**/