only dlopen from the defined search paths

Don't accept absolute library paths that are not in the search path,
skip the ../ in paths to avoid opening arbitrary libraries from
unexpected places.
This commit is contained in:
Wim Taymans 2026-04-06 14:18:22 +02:00
parent 1689b441d3
commit 6bc07dfe0e
7 changed files with 73 additions and 59 deletions

View file

@ -50,7 +50,6 @@
*
* - `jack.library`: the libjack to load, by default libjack.so.0 is searched in
* LIBJACK_PATH directories and then some standard library paths.
* Can be an absolute path.
* - `jack.server`: the name of the JACK server to tunnel to.
* - `jack.client-name`: the name of the JACK client.
* - `jack.connect`: if jack ports should be connected automatically. Can also be