]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1609: crash when an object indirectly references itself v9.0.1609
authorBram Moolenaar <Bram@vim.org>
Mon, 5 Jun 2023 15:53:25 +0000 (16:53 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 5 Jun 2023 15:53:25 +0000 (16:53 +0100)
commitf7ca56f7193f8b383be43f1f6b3a6c6ca77b4233
treece30cd88fa64abf5b4a73366dd4a463f0d141ce8
parent5c606846b9a43c7e6b94c7e96838f7532792f557
patch 9.0.1609: crash when an object indirectly references itself

Problem:    Crash when an object indirectly references itself.
Solution:   Avoid clearing an object while it is already being cleared.
            (closes #12494)
src/testdir/test_vim9_class.vim
src/version.c
src/vim9class.c