1
0
forked from aniani/vim

patch 8.0.0636: when reading the undo file fails may use uninitialized data

Problem:    When reading the undo file fails may use uninitialized data.
Solution:   Always clear the buffer on failure.
This commit is contained in:
Bram Moolenaar
2017-06-11 23:09:15 +02:00
parent 3a429efb62
commit 56f2db562d
2 changed files with 14 additions and 7 deletions

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
636,
/**/
635,
/**/