# HG changeset patch # User Bram Moolenaar # Date 1599941703 -7200 # Node ID 6f83d2adee74893865a15d926706c63407d624bf # Parent 98ff9544a0b9742aef91ceaf4f8baba06281d4fb patch 8.2.1672: v_lock is used when it is not initialized Commit: https://github.com/vim/vim/commit/4a091b9978122428e7d9154d034c640c9c8d8c13 Author: Bram Moolenaar Date: Sat Sep 12 22:10:00 2020 +0200 patch 8.2.1672: v_lock is used when it is not initialized Problem: v_lock is used when it is not initialized. (Yegappan Lakshmanan) Solution: Initialize the typval in eval1(). diff --git a/src/eval.c b/src/eval.c --- a/src/eval.c +++ b/src/eval.c @@ -2103,6 +2103,8 @@ eval1(char_u **arg, typval_T *rettv, eva char_u *p; int getnext; + CLEAR_POINTER(rettv); + /* * Get the first variable. */ diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1672, +/**/ 1671, /**/ 1670,