0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.0.0376: size computations in spell file reading are off

Problem:    Size computations in spell file reading are not exactly right.
Solution:   Make "len" a "long" and check with LONG_MAX.
This commit is contained in:
Bram Moolenaar
2017-02-26 15:27:23 +01:00
parent 5074a0e033
commit 6d3c8586fc
2 changed files with 4 additions and 2 deletions

View File

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