mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-04 15:28:06 +02:00
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. |
||
|---|---|---|
| .. | ||
| module-lua-scripting | ||
| module-reserve-device | ||
| dbus-connection-state.h | ||
| flatpak-utils.h | ||
| meson.build | ||
| module-dbus-connection.c | ||
| module-default-nodes-api.c | ||
| module-file-monitor-api.c | ||
| module-log-settings.c | ||
| module-logind.c | ||
| module-mixer-api.c | ||
| module-mpris.c | ||
| module-portal-permissionstore.c | ||
| module-settings.c | ||
| module-si-audio-adapter.c | ||
| module-si-node.c | ||
| module-si-standard-link.c | ||
| module-standard-event-source.c | ||