commit | cf30643ae607ae1a97b50e19c622dc8303723fa2 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Jun 29 20:40:37 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Jun 29 20:40:37 2020 +0200 |
tree | 50f884e4ffd81edb93a1b1090002233b52031694 | |
parent | 6d90c61c5a6437ff5058b6c5874ba71bff574e60 [diff] [blame] |
patch 8.2.1086: possibly using freed memory when text properties used Problem: Possibly using freed memory when text properties used when changing indent of a line. Solution: Compute the offset before calling ml_replace().
diff --git a/src/version.c b/src/version.c index 65dffff..6f6e481 100644 --- a/src/version.c +++ b/src/version.c
@@ -755,6 +755,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1086, +/**/ 1085, /**/ 1084,