mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05: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
				
			
		| 
						 | 
				
			
			@ -460,7 +460,7 @@ int _snd_pcm_hooks_open(snd_pcm_t **pcmp, const char *name,
 | 
			
		|||
	err = snd_pcm_slave_conf(root, slave, &sconf, 0);
 | 
			
		||||
	if (err < 0)
 | 
			
		||||
		return err;
 | 
			
		||||
	err = snd_pcm_open_slave(&spcm, root, sconf, stream, mode);
 | 
			
		||||
	err = snd_pcm_open_slave(&spcm, root, sconf, stream, mode, conf);
 | 
			
		||||
	snd_config_delete(sconf);
 | 
			
		||||
	if (err < 0)
 | 
			
		||||
		return err;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue