mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 13:17:25 +01:00 
			
		
		
		
	erp: Fix off by one error
The intent of this check is to make sure that at least 2 bytes are available for reading. However, the unintended consequence is that tags with a zero length at the end of input would be rejected. While here, rework the check to be more resistant to potential overflow conditions.
This commit is contained in:
		
							parent
							
								
									938e056896
								
							
						
					
					
						commit
						eddcc4c5b6
					
				
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Denis Kenzior
						Denis Kenzior