commit | 4475b623960671898dac6a72b13a8d140402afa6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon May 01 20:46:52 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon May 01 20:46:52 2017 +0200 |
tree | 19b0d5a28ad7aa3375cb5f8319209eba5229db17 | |
parent | beb9cb19c660484488a71a25eda46ab0fa579278 [diff] [blame] |
patch 8.0.0596: crash when complete() called after complete_add() Problem: Crash when complete() is called after complete_add() in 'completefunc'. (Lifepillar) Solution: Bail out if compl_pattern is NULL. (closes #1668) Also avoid using freed memory.
diff --git a/src/version.c b/src/version.c index 8895b73..f31a946 100644 --- a/src/version.c +++ b/src/version.c
@@ -765,6 +765,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 596, +/**/ 595, /**/ 594,