[Tarantool-patches] [PATCH luajit 0/2] Fix dangling CType references

Sergey Bronnikov sergeyb at tarantool.org
Mon Sep 8 15:02:00 MSK 2025


Patch series LGTM.

On 8/22/25 09:36, Sergey Kaplun wrote:
> These two patches fix the dangling ctype references for the vararg FFI
> call and its recording.
>
> Branch:https://github.com/tarantool/luajit/tree/skaplun/lj-1360-dangling-ctype-ref-on-ccall
>
> Issues:
> *https://github.com/tarantool/tarantool/issues/11691
> *https://github.com/LuaJIT/LuaJIT/issues/1360
>
> Mike Pall (2):
>    FFI: Fix dangling CType references.
>    FFI: Fix dangling CType references (again).
>
>   src/lj_ccall.c                                | 19 +++--
>   src/lj_crecord.c                              | 32 +++++---
>   ...0-dangling-ctype-ref-on-ccall-jit.test.lua | 82 +++++++++++++++++++
>   ...-1360-dangling-ctype-ref-on-ccall.test.lua | 70 ++++++++++++++++
>   4 files changed, 183 insertions(+), 20 deletions(-)
>   create mode 100644 test/tarantool-tests/lj-1360-dangling-ctype-ref-on-ccall-jit.test.lua
>   create mode 100644 test/tarantool-tests/lj-1360-dangling-ctype-ref-on-ccall.test.lua
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20250908/ac2f9049/attachment.htm>


More information about the Tarantool-patches mailing list