mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-30 20:37:26 +01:00 
			
		
		
		
	nl80211util: check l_genl_attr_recurse return in extract_nested
Caught by static analysis, the recurse operation return was not being checked.
This commit is contained in:
		
							parent
							
								
									6febe5bed1
								
							
						
					
					
						commit
						3a17c8e3c5
					
				| @ -136,9 +136,7 @@ static bool extract_nested(const void *data, uint16_t len, void *o) | ||||
| 	const struct l_genl_attr *outer = data; | ||||
| 	struct l_genl_attr *nested = o; | ||||
| 
 | ||||
| 	l_genl_attr_recurse(outer, nested); | ||||
| 
 | ||||
| 	return true; | ||||
| 	return l_genl_attr_recurse(outer, nested); | ||||
| } | ||||
| 
 | ||||
| static bool extract_u8(const void *data, uint16_t len, void *o) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 James Prestwood
						James Prestwood