mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-18 21:37:41 -04:00
filter-graph: relax LADSPA plugin loading
Make a new library.filter-path for the filter-graph that will filter and restrict the dlopen filenames (used for the LADSPA plugin only). By default this is false and so filter-chain can load from absolute paths without extra checks. Enable the extra checks for the pulse LADSPA modules and the audioconvert filter graphs because these allow loading LADSPA plugins into other processes. Fixes #5222
This commit is contained in:
parent
61431dcbc0
commit
98fdedf348
5 changed files with 22 additions and 8 deletions
|
|
@ -1465,6 +1465,7 @@ static int load_filter_graph(struct impl *impl, const char *graph, int order)
|
|||
&SPA_DICT_ITEMS(
|
||||
SPA_DICT_ITEM(SPA_KEY_LIBRARY_NAME, "filter-graph/libspa-filter-graph"),
|
||||
SPA_DICT_ITEM("clock.quantum-limit", qlimit),
|
||||
SPA_DICT_ITEM("library.filter-path", "true"),
|
||||
SPA_DICT_ITEM("filter.graph", graph)));
|
||||
if (new_handle == NULL)
|
||||
goto error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue