]> granicus.if.org Git - vim/commit
patch 8.2.3486: illegal memory access with invalid sequence of commands v8.2.3486
authorBram Moolenaar <Bram@vim.org>
Wed, 6 Oct 2021 21:08:11 +0000 (22:08 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 6 Oct 2021 21:08:11 +0000 (22:08 +0100)
commitcce81e9673fe8d056e8eef310d9919620eccb2f2
tree2899b652b178f018a5032bd0ad6d5248462843da
parentedd7a476fbcba199dc0b026461917912c574c629
patch 8.2.3486: illegal memory access with invalid sequence of commands

Problem:    Illegal memory access with invalid sequence of commands.
Solution:   Do not call leave_block() when not in a try block. (closes #8966)
            Reset did_emsg so that exception is shown as an error.
src/ex_eval.c
src/testdir/test_trycatch.vim
src/version.c