mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Fix infinite parse of recursive definitions
Fixed the infinite parse (and eventually segfault) of recursive definitions. Also fixed the parse of a string slave PCM of direct plugins.
This commit is contained in:
parent
bf174b7046
commit
eccc92a34d
29 changed files with 127 additions and 36 deletions
|
|
@ -249,4 +249,9 @@ void *snd_dlobj_cache_lookup(const char *name);
|
|||
int snd_dlobj_cache_add(const char *name, void *dlobj, void *open_func);
|
||||
void snd_dlobj_cache_cleanup(void);
|
||||
|
||||
/* for recursive checks */
|
||||
void snd_config_set_hop(snd_config_t *conf, int hop);
|
||||
int snd_config_check_hop(snd_config_t *conf);
|
||||
#define SND_CONF_MAX_HOPS 64
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue