1
0
forked from aniani/vim

patch 8.1.0898: a messed up rgb.txt can crash Vim

Problem:    A messed up rgb.txt can crash Vim. (Pavel Cheremushkin)
Solution:   Limit to 10000 entries.  Also don't retry many times when the file
            cannot be read.
This commit is contained in:
Bram Moolenaar
2019-02-12 20:46:48 +01:00
parent 05c00c038b
commit 0ea21e41c6
2 changed files with 10 additions and 2 deletions

View File

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