commit | 37f47958b8a2a44abc60614271d9537e7f14e51a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jan 29 14:21:51 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jan 29 14:21:51 2022 +0000 |
tree | 93ecab84af2e5191851cef159b559f2267ef233e | |
parent | 4dc0dd869972ddafc7d9ee5ea765645b818a6dc9 [diff] [blame] |
patch 8.2.4253: using freed memory when substitute with function call Problem: Using freed memory when substitute uses a recursive function call. Solution: Make a copy of the substitute text.
diff --git a/src/version.c b/src/version.c index e5499ad..25dcfe3 100644 --- a/src/version.c +++ b/src/version.c
@@ -751,6 +751,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4253, +/**/ 4252, /**/ 4251,