Patch 8.2.3929
Problem: Using unititialized variable.
Solution: Set the option flags to zero for a terminal option.
Files: src/option.c
*** ../vim-8.2.3928/src/option.c 2021-12-27 17:21:38.012449123 +0000
--- src/option.c 2021-12-28 20:34:53.529150795 +0000
***************
*** 3962,3967 ****
--- 3962,3970 ----
char_u key_name[2];
char_u *p;
+ if (flagsp != NULL)
+ *flagsp = 0; // terminal option has no flags
+
// check for a terminal option
if (key < 0)
{
*** ../vim-8.2.3928/src/version.c 2021-12-28 20:49:52.828138913 +0000
--- src/version.c 2021-12-28 20:53:10.272146976 +0000
***************
*** 751,752 ****
--- 751,754 ----
{ /* Add new patch number below this line */
+ /**/
+ 3929,
/**/
--
There are three kinds of persons: Those who can count and those who can't.
/// 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 ///