mirror of
https://github.com/vim/vim.git
synced 2026-10-21 07:14:02 +02:00
Problem: Vim9: crash when a type is nested very deeply, e.g.
"list<list<...>>" nested 100000 times, either directly or by
using type aliases, because of running out of stack space.
Solution: Give an error when a type is nested more than 1000 times,
including nesting through type aliases (Yegappan Lakshmanan).
fixes: #21566
closes: #21498
Assisted-by: Claude
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>