[Tarantool-patches] [PATCH luajit v3 0/2] Fix snapshot PC when linking to BC_JLOOP that was a BC_RET*.

Igor Munkin imun at tarantool.org
Wed Jan 10 11:52:07 MSK 2024


Max,

I've checked the patchset into all long-term branches in
tarantool/luajit and bumped a new version in master, release/2.11 and
release/2.10.

On 04.10.23, Maksim Kokryashkin via Tarantool-patches wrote:
> Changes in v3:
> - Fixed comments as per review by Sergey
> - The patch was split into two, so the test case becomes easier to
> implement since it can now depend on this assertion instead
> of memory layout.
> 
> Branch: https://github.com/tarantool/luajit/tree/fckxorg/lj-624-jloop-snapshot-pc
> PR: https://github.com/tarantool/tarantool/pull/9166
> Issue: https://github.com/luajit/luajit/issues/624
> 
> Mike Pall (2):
>   snap: check J->pc is within its proto bytecode
>   Fix snapshot PC when linking to BC_JLOOP that was a BC_RET*.
> 
>  src/lj_record.c                               |  9 +-
>  src/lj_snap.c                                 |  3 +
>  .../lj-624-jloop-snapshot-pc.test.lua         | 84 +++++++++++++++++++
>  3 files changed, 92 insertions(+), 4 deletions(-)
>  create mode 100644 test/tarantool-tests/lj-624-jloop-snapshot-pc.test.lua
> 
> --
> 2.39.3 (Apple Git-145)
> 

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list