Patch 8.2.3340 (after 8.2.3339)
Problem: Accessing uninitialized pointer.
Solution: Set pointer to NULL.
Files: src/eval.c
*** ../vim-8.2.3339/src/eval.c 2021-08-13 19:40:47.413028293 +0200
--- src/eval.c 2021-08-13 20:10:03.132419906 +0200
***************
*** 906,911 ****
--- 906,912 ----
{
// using local variable
lp->ll_tv = lval_root;
+ v = NULL;
}
else
{
***************
*** 967,972 ****
--- 968,974 ----
}
if (in_vim9script() && lp->ll_valtype == NULL
+ && v != NULL
&& lp->ll_tv == &v->di_tv
&& ht != NULL && ht == get_script_local_ht())
{
*** ../vim-8.2.3339/src/version.c 2021-08-13 19:40:47.417028286 +0200
--- src/version.c 2021-08-13 20:11:55.152151309 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3340,
/**/
--
Save the plankton - eat a whale.
/// 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/202108131812.17DICnPx3551885%40masaka.moolenaar.net.