commit | 15d9890eee53afc61eb0a03b878a19cb5672f732 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Nov 04 15:46:05 2021 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Nov 04 15:46:05 2021 +0000 |
tree | 3f784dedd6d11db994fbb6440e10fe4838ec2314 | |
parent | 0b5b06cb4777d1401fdf83e7d48d287662236e7e [diff] [blame] |
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.
diff --git a/src/version.c b/src/version.c index 7bb4236..73ba32e 100644 --- a/src/version.c +++ b/src/version.c
@@ -758,6 +758,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3582, +/**/ 3581, /**/ 3580,