Patch 8.2.2027

4 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 21, 2020, 7:59:55 AM11/21/20
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- 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 ///
Reply all
Reply to author
Forward
0 new messages