mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	bluez5: backend-native: prevent string overflow
Fixes -Wfortify-source when building
This commit is contained in:
		
							parent
							
								
									41d8afa404
								
							
						
					
					
						commit
						e0c9f87d78
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1111,7 +1111,7 @@ next_indicator:
 | 
			
		|||
			return true;
 | 
			
		||||
		}
 | 
			
		||||
	} else if (spa_strstartswith(buf, "ATD")) {
 | 
			
		||||
		char number[30];
 | 
			
		||||
		char number[31];
 | 
			
		||||
		enum cmee_error error;
 | 
			
		||||
 | 
			
		||||
		if (sscanf(buf, "ATD%30s;", number) != 1) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue