mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.0.0378: possible overflow when reading corrupted undo file
Problem: Another possible overflow when reading corrupted undo file. Solution: Check if allocated size is not too big. (King)
This commit is contained in:
@@ -764,6 +764,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
378,
|
||||
/**/
|
||||
377,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user