1
0
forked from aniani/vim

patch 8.1.0261: Coverity complains about a negative array index

Problem:    Coverity complains about a negative array index.
Solution:   When qf_id2nr() cannot find the list then don't set qf_curlist.
This commit is contained in:
Bram Moolenaar
2018-08-09 21:52:24 +02:00
parent 4d37557ac6
commit 38efd1d17a
2 changed files with 26 additions and 19 deletions

View File

@@ -794,6 +794,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
261,
/**/
260,
/**/