]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.2001: Vim9: segfault with islocked() v9.0.2001
authorErnie Rael <errael@raelity.com>
Sat, 7 Oct 2023 20:05:40 +0000 (22:05 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 7 Oct 2023 20:10:26 +0000 (22:10 +0200)
commit9771b2a67f825bdc6e5c615141d22c665952dc86
tree3197766895366d392c92819ddf7e811c5325c317
parent1087b8c29ab521106c5b6cc85d5b38244f0d9c1d
patch 9.0.2001: Vim9: segfault with islocked()

Problem:  Vim9: segfault with islocked()
Solution: Check that the lval pointer is not null for objects and
          class variables

closes: #13295

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Ernie Rael <errael@raelity.com>
src/eval.c
src/evalfunc.c
src/structs.h
src/testdir/test_vim9_class.vim
src/version.c