mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pipewire-v4l2: avoid overflow in id calculation
This commit is contained in:
		
							parent
							
								
									f5f66d1718
								
							
						
					
					
						commit
						c387e83c65
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1838,7 +1838,7 @@ static void *v4l2_mmap(void *addr, size_t length, int prot,
 | 
			
		|||
{
 | 
			
		||||
	void *res;
 | 
			
		||||
	struct file *file;
 | 
			
		||||
	uint32_t id;
 | 
			
		||||
	off64_t id;
 | 
			
		||||
	struct pw_map_range range;
 | 
			
		||||
	struct buffer *buf;
 | 
			
		||||
	struct spa_data *data;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue