commit | 28d032cc688ccfda18c5bbcab8b50aba6e18cde5 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed May 18 16:29:08 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed May 18 16:29:08 2022 +0100 |
tree | bbfa3bdb52dd1dab35cb36c9525d6b60a172d211 | |
parent | 360da40b47a84ee8586c3b5d062f8c64a2ac9cc6 [diff] [blame] |
patch 8.2.4979: accessing freed memory when line is flushed Problem: Accessing freed memory when line is flushed. Solution: Make a copy of the pattern to search for.
diff --git a/src/version.c b/src/version.c index 854de45..37e3d80 100644 --- a/src/version.c +++ b/src/version.c
@@ -747,6 +747,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4979, +/**/ 4978, /**/ 4977,