]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.3476: renaming a buffer on startup may cause using freed memory v8.2.3476
authorBram Moolenaar <Bram@vim.org>
Mon, 4 Oct 2021 22:13:13 +0000 (23:13 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 4 Oct 2021 22:13:13 +0000 (23:13 +0100)
commitd3710cf01ef6ab1b2f233866ff01dab76686f642
tree28e2058098833e3f613c0ecf75733ee4e0cc1627
parent08d7b1c82866a61b61a55e55b6c190dba04e54ea
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 #8955)
src/buffer.c
src/testdir/test_startup.vim
src/version.c