wireplumber/modules/module-lua-scripting
Demi Marie Obenour 15f5f96693 Fix Lua type confusion bug
The only secure and robust way to check that a userdata is of the
expected type is to check its metatable.  Userdata metatables are not
changeable by Lua code without the debug library, so if the metatable is
a certain table, only C code could have made it so.  GLib type checking
functions are _not_ a robust or secure way to check that a block of
memory is a specific type of GObject, because Lua code could cause a
type confusion bug and potentially use it to forge pointers.
2025-07-29 17:24:35 -04:00
..
api lua: fix SPA POD array and choice builders 2025-07-24 12:36:29 +03:00
wplua Fix Lua type confusion bug 2025-07-29 17:24:35 -04:00
meson.build wplua: move under modules/module-lua-scripting 2022-03-24 09:47:59 +02:00
module.c base-dirs: add XDG_CONFIG/DATA_DIRS and CONFIGURATION & DATA groups 2024-03-04 07:07:56 +00:00
script.c docs: fix various codebase typos Found via codespell -q 3 -S "*.po,./po/*,NEWS.rst" -L bootup,gir,inout 2025-01-28 15:45:54 +01:00
script.h m-lua-scripting: wrap every script in a WpPlugin and expose async activation api 2022-04-23 20:14:59 +03:00