]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.0949: crash when unletting a variable while listing variables v9.0.0949
authorBram Moolenaar <Bram@vim.org>
Fri, 25 Nov 2022 16:31:51 +0000 (16:31 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 25 Nov 2022 16:31:51 +0000 (16:31 +0000)
commitef2c325f5e3c437b722bb96bf369ba2a5c541163
treedc85f0dc98dce1937b459d8d3882473f25db03c3
parentc1cf4c91072f91b6b8dd636627a4ddf6f4b21f16
patch 9.0.0949: crash when unletting a variable while listing variables

Problem:    Crash when unletting a variable while listing variables.
Solution:   Disallow changing a hashtable while going over the entries.
            (closes #11435)
21 files changed:
src/buffer.c
src/dict.c
src/errors.h
src/evalvars.c
src/hashtab.c
src/if_lua.c
src/if_py_both.h
src/if_ruby.c
src/proto/dict.pro
src/proto/hashtab.pro
src/sign.c
src/spellfile.c
src/structs.h
src/syntax.c
src/terminal.c
src/testdir/test_autocmd.vim
src/textprop.c
src/userfunc.c
src/version.c
src/vim9execute.c
src/vim9script.c