diff options
| author | imShangLi <imshangli@users.noreply.github.com> | 2026-12-02 12:26:29 +0800 |
|---|---|---|
| committer | imShangLi <imshangli@users.noreply.github.com> | 2026-12-02 12:26:29 +0800 |
| commit | c33e5b48ec3d38cdfc6e76d524fa6d46fe889fae (patch) | |
| tree | cd58fced25df0b8601c9c5a7ab28fc71887483e5 /scripts/launcher_python.sh | |
| parent | 8422def759cda12c89f918438eeb8d53dd5972a6 (diff) | |
D3D12-LUA-STRING-DUMP: a mod cannot make a precompiled chunk
The state has one string metatable, and it points at the real string table:
faking getmetatable for strings hid the metatable from the mods, but string
indexing still resolved through it, so ("x").dump was the real string.dump
and a mod could make a binary chunk (the sandbox takes text chunks only,
because a precompiled chunk can take the interpreter down).
The state's string metatable now points at a table without dump, so the real
one is out of reach too.
Diffstat (limited to 'scripts/launcher_python.sh')
0 files changed, 0 insertions, 0 deletions