1
0
forked from aniani/vim

patch 8.2.3582: reading uninitialized memory when giving spell suggestions

Problem:    Reading uninitialized memory when giving spell suggestions.
Solution:   Check that preword is not empty.
This commit is contained in:
Bram Moolenaar
2021-11-04 15:46:05 +00:00
parent 0b5b06cb47
commit 15d9890eee
3 changed files with 11 additions and 1 deletions

View File

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