mirror of
https://github.com/neovim/neovim.git
synced 2026-03-02 06:12:24 +10:00
Problem:
luv callback `vim.uv.new_timer():start(0, 0, function() error() end)`
causes SIGSEGV, since `xstrdup` gets NULL from `lua_tostring`.
Similar to: a5b1b83a26
Solution:
Check NULL before `xstrdup`.
6.2 KiB
6.2 KiB