Patch 8.2.2027
Problem: Coverity warnts for uninitialized field.
Solution: Set "v_lock".
Files: src/list.c
*** ../vim-8.2.2026/src/list.c 2020-11-12 20:16:35.699302831 +0100
--- src/list.c 2020-11-21 13:57:58.460375454 +0100
***************
*** 867,872 ****
--- 867,873 ----
if (l == NULL)
return FAIL;
tv->v_type = VAR_LIST;
+ tv->v_lock = 0;
tv->vval.v_list = l;
if (l1 == NULL)
++l->lv_refcount;
*** ../vim-8.2.2026/src/version.c 2020-11-21 13:51:12.421860319 +0100
--- src/version.c 2020-11-21 13:58:31.156257982 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2027,
/**/
--
>From "know your smileys":
(\___/)
(+'.'+) Bunny
(")_(")
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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/202011211259.0ALCxmLO912531%40masaka.moolenaar.net.