mirror of
https://github.com/vim/vim.git
synced 2025-11-13 22:54:27 -05:00
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:
@@ -764,6 +764,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
636,
|
||||
/**/
|
||||
635,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user