mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	The previous commit introduced a new bug: giving too many values in the "control" argument wasn't detected any more. Fixed.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2093 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									39ba68bcf4
								
							
						
					
					
						commit
						4e771768e3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -470,7 +470,7 @@ int pa__init(pa_module*m) {
 | 
			
		|||
            p++;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (p > n_control) {
 | 
			
		||||
        if (p > n_control || k) {
 | 
			
		||||
            pa_log("Too many control values passed, %lu expected.", n_control);
 | 
			
		||||
            goto fail;
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue