Patch 8.2.3407
Problem: Using uninitialized memory with "let g:['bar'] = 2".
Solution: Initialize v_type of a new dict item.
Files: src/dict.c
*** ../vim-8.2.3406/src/dict.c 2021-08-12 19:27:46.458459623 +0200
--- src/dict.c 2021-09-06 19:18:18.427937934 +0200
***************
*** 229,234 ****
--- 229,235 ----
STRCPY(di->di_key, key);
di->di_flags = DI_FLAGS_ALLOC;
di->di_tv.v_lock = 0;
+ di->di_tv.v_type = VAR_UNKNOWN;
}
return di;
}
*** ../vim-8.2.3406/src/version.c 2021-09-06 18:57:25.270231387 +0200
--- src/version.c 2021-09-06 19:18:37.427903206 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3407,
/**/
--
A consultant is a person who takes your money and annoys your employees while
tirelessly searching for the best way to extend the consulting contract.
(Scott Adams - The Dilbert principle)
/// 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/202109061720.186HKXVG1415269%40masaka.moolenaar.net.