forked from aniani/vim
patch 8.2.3779: using freed memory when defining a user command recursively
Problem: Using freed memory when defining a user command from a user
command.
Solution: Do not use the command pointer after executing the command.
(closes #9318)
This commit is contained in:
@@ -753,6 +753,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3779,
|
||||
/**/
|
||||
3778,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user