forked from aniani/vim
patch 8.2.0596: crash in test49
Problem: Crash in test49. Solution: Check the right pointer.
This commit is contained in:
Binary file not shown.
@@ -2504,7 +2504,7 @@ ex_function(exarg_T *eap)
|
||||
|
||||
// With Vim9 script the name was made script-local, if not
|
||||
// found try again with the original name.
|
||||
if (p != NULL)
|
||||
if (up != NULL)
|
||||
fp = find_func(up, NULL);
|
||||
}
|
||||
|
||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
596,
|
||||
/**/
|
||||
595,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user