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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211228205356.08D511C0641%40moolenaar.net.

Raspunde prin e-mail lui