commit | 35a9a00afcb20897d462a766793ff45534810dc3 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Sep 11 21:14:20 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Sep 11 21:14:20 2021 +0200 |
tree | 2706b760e766121610ba642b5d45496861a7a898 | |
parent | b3bf33a7b227df871834e816c4ce4b2706b56bea [diff] [blame] |
patch 8.2.3428: using freed memory when replacing Problem: Using freed memory when replacing. (Dhiraj Mishra) Solution: Get the line pointer after calling ins_copychar().
diff --git a/src/version.c b/src/version.c index f82881f..2d6f6c7 100644 --- a/src/version.c +++ b/src/version.c
@@ -756,6 +756,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3428, +/**/ 3427, /**/ 3426,