1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-18 16:41:14 +02:00

Possible fix for bug #590

This change reduces the risk of LADSPA plugins referencing
Audacity symbols by using the RTLD_DEEPBIND flag when loading
the plugins.

It also addresses an issue specific to the "blop" plugins where
they load their own libraries (without RTLD_DEEPBIND).

A much better solution would be to change Audacity's default
symbol visibility to "hidden" which would expose ONLY symbols
specificially marked as visible.
This commit is contained in:
Leland Lucius
2019-10-02 10:17:00 -05:00
parent 9e51dba3db
commit 5955dbc752
4 changed files with 33 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ typedef struct symb_descr {
} ptr;
} symb_descr_node;
int lookup(char *s);
int hash_lookup(char *s);
void defvar(char *name, int *addr);
void defvec(char *name, int *addr, int size);
typedef int (*defun_type)();