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

patch 8.2.1521: reading past end of buffer when reading spellfile

Problem:    Reading past end of buffer when reading spellfile. (Yegappan
            Lakshmanan)
Solution:   Store the byte length and check for it.
This commit is contained in:
Bram Moolenaar
2020-08-24 20:05:50 +02:00
parent b3ea36c5bc
commit 07399e7f07
3 changed files with 14 additions and 7 deletions

View File

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