]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.1086: possibly using freed memory when text properties used v8.2.1086
authorBram Moolenaar <Bram@vim.org>
Mon, 29 Jun 2020 18:40:37 +0000 (20:40 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 29 Jun 2020 18:40:37 +0000 (20:40 +0200)
commitcf30643ae607ae1a97b50e19c622dc8303723fa2
tree50f884e4ffd81edb93a1b1090002233b52031694
parent6d90c61c5a6437ff5058b6c5874ba71bff574e60
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().
src/indent.c
src/version.c