1
0
forked from aniani/vim

patch 9.0.0021: invalid memory access when adding word to spell word list

Problem:    Invalid memory access when adding word with a control character to
            the internal spell word list.
Solution:   Disallow adding a word with control characters or a trailing
            slash.
This commit is contained in:
Bram Moolenaar
2022-07-01 22:26:20 +01:00
parent f12129f171
commit 5e59ea54c0
3 changed files with 36 additions and 2 deletions

View File

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