]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.2030: no max callback recursion limit v9.0.2030
authorChristian Brabandt <cb@256bit.org>
Sun, 15 Oct 2023 07:56:16 +0000 (09:56 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 15 Oct 2023 07:56:16 +0000 (09:56 +0200)
commit47510f3d6598a1218958c03ed11337a43b73f48d
treebbe51bf33ac367ac3a534d8f779d71c1d7e8011f
parent1ace49fb98fa93e2fcff421a5f7da1aa41c512ed
patch 9.0.2030: no max callback recursion limit

Problem:  no max callback recursion limit
Solution: bail out, if max call recursion for callback functions
          has been reached.

This checks the 'maxfuncdepth' setting and throws E169 when a callback
function recursively calls itself.

closes: #13337
closes: #13339

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/options.txt
src/testdir/test_popupwin.vim
src/userfunc.c
src/version.c