mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 7.4.2310
Problem: Accessing freed memory when a timer does not repeat. Solution: Free after removing it. (Dominique Pelle)
This commit is contained in:
@@ -1222,8 +1222,8 @@ check_due_timer(void)
|
||||
}
|
||||
else
|
||||
{
|
||||
free_timer(timer);
|
||||
remove_timer(timer);
|
||||
free_timer(timer);
|
||||
}
|
||||
/* the callback may do anything, start all over */
|
||||
break;
|
||||
|
@@ -763,6 +763,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2310,
|
||||
/**/
|
||||
2309,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user