mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 10:13:14 -04:00 
			
		
		
		
	fuzzing: allow setup function to be called (#3175)
This allows to fuzzing of more interesting targets that require setup. Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
		
							
								
								
									
										2
									
								
								plugin/cache/fuzz.go
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								plugin/cache/fuzz.go
									
									
									
									
										vendored
									
									
								
							| @@ -8,5 +8,5 @@ import ( | ||||
|  | ||||
| // Fuzz fuzzes cache. | ||||
| func Fuzz(data []byte) int { | ||||
| 	return fuzz.Do(New(), data) | ||||
| 	return fuzz.Do(New(), nil, data) | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user