Files
neovim/test/functional/lua
林玮 (Jade Lin) a5b1b83a26 fix(lua): prevent SIGSEGV when lua error is NULL in libuv_worker
Problem:
Calling `xstrdup` with a NULL pointer causes a SIGSEGV if `lua_tostring` returns
NULL in `nlua_luv_thread_common_cfpcall`.

Crash stack trace:
- `_platform_strlen` → `xstrdup` (memory.c:469)
- `nlua_luv_thread_common_cfpcall` (executor.c:281)

Solution:
Check if `lua_tostring` returns NULL and pass NULL to `event_create` to avoid the crash.
2025-01-18 19:08:50 +00:00
..
2024-04-23 18:17:04 +02:00
2025-01-09 09:26:45 -08:00
2025-01-01 12:29:51 -08:00
2024-04-23 18:17:04 +02:00
2025-01-09 09:26:45 -08:00