comparison src/misc1.c @ 21070:87e85a13e9cf v8.2.1086

patch 8.2.1086: possibly using freed memory when text properties used Commit: https://github.com/vim/vim/commit/cf30643ae607ae1a97b50e19c622dc8303723fa2 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 29 20:40:37 2020 +0200 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().
author Bram Moolenaar <Bram@vim.org>
date Mon, 29 Jun 2020 20:45:04 +0200
parents 9064044fd4f6
children 80b4e604d1d5
comparison
equal deleted inserted replaced
21069:bb3674ff2c25 21070:87e85a13e9cf