Patch 8.2.4468
Problem: Coverity warns for uninitialized struct member.
Solution: Set color.index to zero.
Files: src/terminal.c
*** ../vim-8.2.4467/src/terminal.c 2022-01-20 14:57:18.280528244 +0000
--- src/terminal.c 2022-02-25 20:44:40.439303147 +0000
***************
*** 4193,4198 ****
--- 4193,4199 ----
color.red = (unsigned)(rgb[index] >> 16);
color.green = (unsigned)(rgb[index] >> 8) & 255;
color.blue = (unsigned)rgb[index] & 255;
+ color.index = 0;
vterm_state_set_palette_color(state, index, &color);
}
}
*** ../vim-8.2.4467/src/version.c 2022-02-25 17:40:59.319948279 +0000
--- src/version.c 2022-02-25 20:47:50.271353327 +0000
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 4468,
/**/
--
hundred-and-one symptoms of being an internet addict:
102. When filling out your driver's license application, you give
your IP address.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///