]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0471: Crash when using autocmd_get() after removing event inside autocmd v9.1.0471
authorzeertzjq <zeertzjq@outlook.com>
Sun, 9 Jun 2024 14:44:33 +0000 (16:44 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 9 Jun 2024 14:44:33 +0000 (16:44 +0200)
commit2d1d5c6c27b0abe7494cb07dd56a47d61ae95169
treebc006ebafefffec7121d3ce34e8c522880db8f12
parent03a3df15ca8bdae27b609eed815132fb79365fb0
patch 9.1.0471: Crash when using autocmd_get() after removing event inside autocmd

Problem:  Crash when using autocmd_get() after removing event inside
          autocmd (Sergey Vlasov)
Solution: Check that the pattern is NULL (zeertzjq).

fixes: #14937
closes: #14939

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/autocmd.c
src/testdir/test_autocmd.vim
src/version.c