]> granicus.if.org Git - vim/commit
patch 9.0.0877: using freed memory with :comclear while listing commands v9.0.0877
authorBram Moolenaar <Bram@vim.org>
Sun, 13 Nov 2022 23:30:06 +0000 (23:30 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 13 Nov 2022 23:30:06 +0000 (23:30 +0000)
commitcf2594fbf34d9a6776bd9d33f845cb8ceb1e1cd0
treeba645afa4188118a25f5d183a60740a710f96b1d
parent68353e5270fca45daffee5b5f882853cdfa40f76
patch 9.0.0877: using freed memory with :comclear while listing commands

Problem:    Using freed memory with :comclear while listing commands.
Solution:   Bail out when the command list has changed. (closes #11440)
src/errors.h
src/testdir/test_usercommands.vim
src/usercmd.c
src/version.c