mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	conf: quote also strings with '*' and '#' characters in string_print()
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
		
							parent
							
								
									e097dd491a
								
							
						
					
					
						commit
						ed75249852
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1536,6 +1536,8 @@ static void string_print(char *str, int id, snd_output_t *out)
 | 
			
		|||
	case ']':
 | 
			
		||||
	case '\'':
 | 
			
		||||
	case '"':
 | 
			
		||||
	case '*':
 | 
			
		||||
	case '#':
 | 
			
		||||
		goto quoted;
 | 
			
		||||
	default:
 | 
			
		||||
		if (*p <= 31 || *p >= 127)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue