mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	audioconvert: Increase param length limit to 4096
Parameter values read into a 512 byte long buffer, which is insufficient for medium to long filter-graph parameters. Increase the buffer to 4096 bytes to give some wiggle-room.
This commit is contained in:
		
							parent
							
								
									9e3f9607a6
								
							
						
					
					
						commit
						558721efc2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1356,7 +1356,7 @@ static int parse_prop_params(struct impl *this, struct spa_pod *params)
 | 
				
			||||||
	while (true) {
 | 
						while (true) {
 | 
				
			||||||
		const char *name;
 | 
							const char *name;
 | 
				
			||||||
		struct spa_pod *pod;
 | 
							struct spa_pod *pod;
 | 
				
			||||||
		char value[512];
 | 
							char value[4096];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (spa_pod_parser_get_string(&prs, &name) < 0)
 | 
							if (spa_pod_parser_get_string(&prs, &name) < 0)
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue