commit | 2813f38e021c6e6581c0c88fcf107e41788bc835 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jun 09 19:54:24 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jun 09 19:54:24 2022 +0100 |
tree | b8a6f78b5fe373c594ea6e7719f86b99495de8ee | |
parent | f5465ff5c83f5a8a3e05bec64a0c013e5bdeb46e [diff] [blame] |
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.
diff --git a/src/version.c b/src/version.c index ebfd0d4..8f5a4ff 100644 --- a/src/version.c +++ b/src/version.c
@@ -735,6 +735,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 5072, +/**/ 5071, /**/ 5070,