vim-patch:8.2.4474: memory allocation failures not tested in quickfix code

Problem:    Memory allocation failures not tested in quickfix code.
Solution:   Add alloc IDs and tests. (Yegappan Lakshmanan, closes vim/vim#9848)

5a2d4a3ecb

Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
This commit is contained in:
Jan Edmund Lazo
2025-12-10 21:33:40 -05:00
parent e31cfc5eac
commit 08eb133c3f
2 changed files with 145 additions and 1 deletions

View File

@@ -735,7 +735,7 @@ static int qf_get_next_str_line(qfstate_T *state)
return QF_OK;
}
/// Get the next string from state->p_Li.
/// Get the next string from the List item state->p_li.
static int qf_get_next_list_line(qfstate_T *state)
{
listitem_T *p_li = state->p_li;