1
0
forked from aniani/vim

patch 8.2.4362: :retab may allocate too much memory

Problem:    :retab may allocate too much memory.
Solution:   Bail out when allocating more than MAXCOL bytes.
This commit is contained in:
Bram Moolenaar
2022-02-12 20:46:15 +00:00
parent 62b191c387
commit 33f3c59854
2 changed files with 10 additions and 1 deletions

View File

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