commit | 38efd1d17a6e6aa2add71efdf2cde4a788e5f5e5 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Aug 09 21:52:24 2018 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Aug 09 21:52:24 2018 +0200 |
tree | 3e402d58133bd357215a684994caedffd2b0b235 | |
parent | 4d37557ac6c387621682c93125cd2931f9640986 [diff] [blame] |
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.
diff --git a/src/version.c b/src/version.c index 962d173..9e2ee2e 100644 --- a/src/version.c +++ b/src/version.c
@@ -795,6 +795,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 261, +/**/ 260, /**/ 259,