commit | 56f2db562ddc6c69026d55360f0cfaacd8adc26a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jun 11 23:09:15 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jun 11 23:09:15 2017 +0200 |
tree | fd02d38d13107fc33e009cba6068c2ac654069b8 | |
parent | 3a429efb628a3925d13c3fe415e02a7ce117071f [diff] [blame] |
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.
diff --git a/src/version.c b/src/version.c index cac2c87..6d33f12 100644 --- a/src/version.c +++ b/src/version.c
@@ -765,6 +765,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 636, +/**/ 635, /**/ 634,