]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1066: heap-use-after-free and stack-use-after-scope with :14verbose v9.1.1066
authorzeertzjq <zeertzjq@outlook.com>
Sun, 2 Feb 2025 07:55:57 +0000 (08:55 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 2 Feb 2025 07:55:57 +0000 (08:55 +0100)
commit2101230f4013860dbafcb0cab3f4e6bc92fb6f35
treed22795f6642495f0aa07b67f087cc18c3add62ad
parent3a621188ee52badfe7aa783db12588a78dcd8ed6
patch 9.1.1066: heap-use-after-free and stack-use-after-scope with :14verbose

Problem:  heap-use-after-free and stack-use-after-scope with :14verbose
          when using :return and :try (after 9.1.1063).
Solution: Move back the vim_free(tofree) and the scope of numbuf[].
          (zeertzjq)

closes: #16563

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