summaryrefslogtreecommitdiffstatshomepage
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-02-19 06:07:16 +0800
committerGitHub <noreply@github.com>2026-02-19 06:07:16 +0800
commit2154d325d5266e3b2821c6deb7a3f988b5c298ab (patch)
tree8cd65b3e2f395eaa3c5f53ebecc11fc35df6b67f /test/functional/vimscript/executable_spec.lua
parent761fbc155a87d7c0af29b5ddea8d62f939f9b403 (diff)
fix(memfile): avoid potential crash on OOM (#37946)
When running out of memory in a libuv callback, try_to_free_memory() will call mf_release_all(). In this case, mf_sync() cannot call os_breakcheck() as it'll run the libuv loop recursively, so check main_loop.recursive to prevent that. Also fix another possible problem that a terminal buffer may have a swapfile when encountering an OOM in e.g. terminal_alloc().
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions