aboutsummaryrefslogtreecommitdiff
path: root/plugin/file/fuzz.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2019-08-25 19:01:35 +0000
committerGravatar GitHub <noreply@github.com> 2019-08-25 19:01:35 +0000
commite08d3335b0014e5fa9ef6ff239ca3f4d2122f658 (patch)
treeb404e035b1aa63f48b9d33255cc0416a81b22d46 /plugin/file/fuzz.go
parent793bd324999ed301a7437931213dbbb2d766558f (diff)
downloadcoredns-e08d3335b0014e5fa9ef6ff239ca3f4d2122f658.tar.gz
coredns-e08d3335b0014e5fa9ef6ff239ca3f4d2122f658.tar.zst
coredns-e08d3335b0014e5fa9ef6ff239ca3f4d2122f658.zip
fuzz: revert setup function (#3189)
This can't be used in its current form; revert the entire PR. Revert "fuzzing: allow setup function to be called (#3175)" This reverts commit 62451fd3eb68cef5dcdafe6e4228f08cf52d84fc.
Diffstat (limited to 'plugin/file/fuzz.go')
-rw-r--r--plugin/file/fuzz.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/file/fuzz.go b/plugin/file/fuzz.go
index de26ccc8a..e693f58bf 100644
--- a/plugin/file/fuzz.go
+++ b/plugin/file/fuzz.go
@@ -15,7 +15,7 @@ func Fuzz(data []byte) int {
zone, _ := Parse(strings.NewReader(fuzzMiekNL), name, "stdin", 0)
f := File{Next: test.ErrorHandler(), Zones: Zones{Z: map[string]*Zone{name: zone}, Names: []string{name}}}
- return fuzz.Do(f, nil, data)
+ return fuzz.Do(f, data)
}
const fuzzMiekNL = `