1
0
forked from aniani/vim

patch 8.2.5072: using uninitialized value and freed memory in spell command

Problem:    Using uninitialized value and freed memory in spell command.
Solution:   Initialize "attr".  Check for empty line early.
This commit is contained in:
Bram Moolenaar
2022-06-09 19:54:24 +01:00
parent f5465ff5c8
commit 2813f38e02
3 changed files with 24 additions and 3 deletions

View File

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