0
0
mirror of https://github.com/vim/vim.git synced 2025-10-11 06:34:16 -04:00

patch 8.2.0039: memory access error when "z=" has no suggestions

Problem:    Memory access error when "z=" has no suggestions.
Solution:   Check for negative index.
This commit is contained in:
Bram Moolenaar
2019-12-25 13:55:24 +01:00
parent e9a8d1f9ad
commit 569fea2c31
3 changed files with 5 additions and 4 deletions

View File

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