From: Bram Moolenaar Date: Wed, 23 Jul 2014 14:33:07 +0000 (+0200) Subject: updated for version 7.4.379 X-Git-Tag: v7.4.379 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=158a1b074828341767ad4ce912b346bf14189605;p=vim updated for version 7.4.379 Problem: Accessing freed memory after using setqflist(list, 'r'). (Lcd) Solution: Reset qf_index. --- diff --git a/src/quickfix.c b/src/quickfix.c index fc3a14481..c8954cc53 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -2173,6 +2173,7 @@ qf_free(qi, idx) } vim_free(qi->qf_lists[idx].qf_title); qi->qf_lists[idx].qf_title = NULL; + qi->qf_lists[idx].qf_index = 0; } /* diff --git a/src/version.c b/src/version.c index c312e99dd..b92df3276 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 379, /**/ 378, /**/