]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0682: Vim9: Segfault with uninitialized funcref v9.1.0682
authorErnie Rael <errael@raelity.com>
Mon, 19 Aug 2024 19:45:23 +0000 (21:45 +0200)
committerChristian Brabandt <cb@256bit.org>
Mon, 19 Aug 2024 19:47:35 +0000 (21:47 +0200)
commitcb90ea9cba6f033fe141db0e466fb4117f28402b
tree0de214ceba937afe0bfde7ae4b7913f19a1c5c62
parent6bff6a2fa449b9149eb2db4851e0b62a173b8748
patch 9.1.0682: Vim9: Segfault with uninitialized funcref

Problem:  Vim9: Segfault with uninitialized funcref
          (Daniel Viberg)
Solution: Check the Funcref for being Null before trying to access it
          (Ernie Rael)

fixes: #15523

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_vim9_func.vim
src/userfunc.c
src/version.c