]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.0970: passing invalid highlight id v8.0.0970
authorBram Moolenaar <Bram@vim.org>
Sat, 19 Aug 2017 19:35:35 +0000 (21:35 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 19 Aug 2017 19:35:35 +0000 (21:35 +0200)
commitd6a7b3e6bbb8f87507de68d86cf70eab806aab3a
tree7c223144fa8f8b7372b9e6f183633aa53de4cebe
parentdc926dd0dd0ef72fe7993f134f2cc1551cd269ea
patch 8.0.0970: passing invalid highlight id

Problem:    if there is no StatusLine highlighting and there is StatusLineNC
            or StatusLineTermNC highlighting then an invalid highlight id is
            passed to combine_stl_hlt(). (Coverity)
Solution:   Check id_S to be -1 instead of zero.
src/syntax.c
src/version.c