mirror of
https://github.com/coredns/coredns.git
synced 2025-11-09 13:32:16 -05: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:
@@ -9,5 +9,5 @@ import (
|
||||
// Fuzz fuzzes cache.
|
||||
func Fuzz(data []byte) int {
|
||||
c := Chaos{}
|
||||
return fuzz.Do(c, data)
|
||||
return fuzz.Do(c, nil, data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user