Mercurial > vim
view src/gvimtutor @ 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 | 4a317df16962 |
children | d4faa2c5211b |
line wrap: on
line source
#!/bin/sh # Start GUI Vim on a copy of the tutor file. # Usage: gvimtutor [xx] # See vimtutor for usage. exec `dirname $0`/vimtutor -g "$@"