To: vim_dev@googlegroups.com Subject: Patch 8.2.2027 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2027 Problem: Coverity warns 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 -- Bram@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 ///