林玮 (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-09-23 14:42:57 +02:00
2024-04-23 18:17:04 +02:00
2024-11-14 12:40:57 +01:00
2024-10-04 06:48:31 -07:00
2024-11-14 12:40:57 +01:00
2024-05-23 15:30:53 -05:00
2024-09-28 00:31:45 +02:00
2025-01-18 07:43:21 -06:00
2024-09-21 16:04:09 +01:00
2024-12-28 19:20:50 +08:00
2025-01-14 16:39:17 -08:00
2025-01-09 09:26:45 -08:00
2024-09-21 16:04:09 +01:00
2025-01-14 19:55:29 -08:00
2024-09-21 16:04:09 +01:00
2024-05-17 14:17:25 -05:00
2025-01-01 12:29:51 -08:00
2024-11-26 06:15:50 -08:00
2024-11-14 13:23:11 +01:00
2024-11-14 12:40:57 +01:00
2024-09-21 16:04:09 +01:00
2024-11-14 12:40:57 +01:00
2024-11-04 05:00:12 -08:00
2024-11-14 12:40:57 +01:00
2024-07-16 19:30:22 +02:00
2024-04-23 18:17:04 +02:00
2024-12-05 09:13:22 +00:00
2024-11-26 13:56:01 -06:00
2025-01-18 19:08:50 +00:00
2025-01-15 06:55:21 -08:00
2024-10-18 02:22:15 -07:00
2024-12-11 05:48:17 -08:00
2024-07-27 14:06:31 +01:00
2025-01-09 09:26:45 -08:00
2024-12-31 15:54:06 +01:00
2025-01-09 12:32:25 +08:00
2024-09-30 11:51:33 +01:00