mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -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:
@@ -17,5 +17,5 @@ func Fuzz(data []byte) int {
|
||||
}
|
||||
r := Rewrite{Rules: rules}
|
||||
|
||||
return fuzz.Do(r, data)
|
||||
return fuzz.Do(r, nil, data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user