mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +00:00
vim-patch:7.4.379
Problem: Accessing freed memory after using setqflist(list, 'r'). (Lcd) Solution: Reset qf_index. https://code.google.com/p/vim/source/detail?r=v7-4-379
This commit is contained in:
@@ -1890,6 +1890,7 @@ static void qf_free(qf_info_T *qi, int idx)
|
||||
}
|
||||
free(qi->qf_lists[idx].qf_title);
|
||||
qi->qf_lists[idx].qf_title = NULL;
|
||||
qi->qf_lists[idx].qf_index = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@@ -216,7 +216,7 @@ static int included_patches[] = {
|
||||
//382,
|
||||
//381,
|
||||
//380 NA
|
||||
//379,
|
||||
379,
|
||||
//378,
|
||||
//377,
|
||||
376,
|
||||
|
Reference in New Issue
Block a user