From: Bram Moolenaar Date: Tue, 25 Aug 2015 14:49:01 +0000 (+0200) Subject: patch 7.4.836 X-Git-Tag: v7.4.836 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a38dd29d6f65aa601162542a5ab0ba7f308fc8e;p=vim patch 7.4.836 Problem: Accessing unitinialized memory. Solution: Add missing calls to init_tv(). (Dominique Pelle) --- diff --git a/src/eval.c b/src/eval.c index e2f40f0bc..3650c34a9 100644 --- a/src/eval.c +++ b/src/eval.c @@ -5371,6 +5371,8 @@ eval_index(arg, rettv, evaluate, verbose) } #endif + init_tv(&var1); + init_tv(&var2); if (**arg == '.') { /* diff --git a/src/version.c b/src/version.c index 1301f2bf2..08d114011 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 836, /**/ 835, /**/