Mercurial > vim
view src/testdir/dumps/Test_incsearch_substitute_11.dump @ 25885:7c640ad754fb v8.2.3476
patch 8.2.3476: renaming a buffer on startup may cause using freed memory
Commit: https://github.com/vim/vim/commit/d3710cf01ef6ab1b2f233866ff01dab76686f642
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 4 23:13:13 2021 +0100
patch 8.2.3476: renaming a buffer on startup may cause using freed memory
Problem: Renaming a buffer on startup may cause using freed memory.
Solution: Check if the buffer is used in a window. (closes https://github.com/vim/vim/issues/8955)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 05 Oct 2021 00:15:04 +0200 |
parents | d44e0469f8bb |
children |
line wrap: on
line source
|f+1&#ffffff0|o+0&#ffff4012@1| |1| +0&#ffffff0@64 |f+0&#ffff4012|o@1| |2| +0&#ffffff0@64 |f+0&#ffff4012|o@1| |3| +0&#ffffff0@64 |[+3&&|N|o| |N|a|m|e|]| |[|+|]| @38|1|,|1| @11|T|o|p |f+0&#ffff4012|o@1| |2| +0&#ffffff0@64 |f+0&#ffff4012|o@1| |3| +0&#ffffff0@64 |f+0&#ffff4012|o@1| |4| +0&#ffffff0@64 |[+1&&|N|o| |N|a|m|e|]| |[|+|]| @38|2|,|1| @11|1|2|% |:+0&&|%|s|/|.> @64