diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-08-26 14:11:57 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-08-30 00:06:15 +0200 |
commit | 629eb171b7ec47c7f608962d013a4f7894fac00d (patch) | |
tree | 57a870addddfbb26f1d8f78c82a1f48145b0db15 /modules | |
parent | 36460dfd5395bd979b3c07eb62ab400421e90f68 (diff) |
ucode-mod-lua: various fixes
Properly handle accesses to properties of the userdatum itself in the
lua_uv_index() __index metamethod and treat integer keys as array indexes
in case of wrapped ucode array values. Also fix an incorrect refcount
decrement in the function.
Also fix uc_lua_vm_get() and uc_lua_lv_getraw() to gracefully handle
accesses to not defined or non-table values and ensure that those functions
properly reset the Lua stack after they complete.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions