commit | 0ea21e41c6789c356762f970ecf168a897dcf8b6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Feb 12 20:46:48 2019 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Feb 12 20:46:48 2019 +0100 |
tree | 509d7a3fb096c68acadd78d872c6b9bded554857 | |
parent | 05c00c038bc16e862e17f9e5c8d5a72af6cf7788 [diff] [blame] |
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.
diff --git a/src/version.c b/src/version.c index 6e3d780..a2c250e 100644 --- a/src/version.c +++ b/src/version.c
@@ -784,6 +784,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 898, +/**/ 897, /**/ 896,