mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.4.379
Problem: Accessing freed memory after using setqflist(list, 'r'). (Lcd) Solution: Reset qf_index.
This commit is contained in:
@@ -2173,6 +2173,7 @@ qf_free(qi, idx)
|
|||||||
}
|
}
|
||||||
vim_free(qi->qf_lists[idx].qf_title);
|
vim_free(qi->qf_lists[idx].qf_title);
|
||||||
qi->qf_lists[idx].qf_title = NULL;
|
qi->qf_lists[idx].qf_title = NULL;
|
||||||
|
qi->qf_lists[idx].qf_index = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -734,6 +734,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
379,
|
||||||
/**/
|
/**/
|
||||||
378,
|
378,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user