# HG changeset patch # User Bram Moolenaar # Date 1640725205 -3600 # Node ID f6b10a501a0e3cf0c74423298ffcc8b3dba22358 # Parent 030a79024913771eec4b35e3d8ee90c19ea4cab8 patch 8.2.3929: using unititialized variable Commit: https://github.com/vim/vim/commit/10c75c4a09a604ea674a2700aacb55914750b86d Author: Bram Moolenaar Date: Tue Dec 28 20:53:30 2021 +0000 patch 8.2.3929: using unititialized variable Problem: Using unititialized variable. Solution: Set the option flags to zero for a terminal option. diff --git a/src/option.c b/src/option.c --- a/src/option.c +++ b/src/option.c @@ -3962,6 +3962,9 @@ get_option_value( 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) { diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3929, +/**/ 3928, /**/ 3927,